Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" />


<div>

  <body>
    
    <div class="bckgrnd container-fluid">
      <img class="img-responsive" src="http://cdn1.savepice.ru/uploads/2017/7/28/d1b124bf2b7e61909f144dc0a9d6d839-full.png">  <!--http://cdn1.savepice.ru/uploads/2017/7/27/7647474e4667976f2343cb1ef285feee-full.png -->
    </div>
    
    <a href="#top"><img src="http://cdn1.savepice.ru/uploads/2017/7/28/3007d3456772333910400870b0530a18-full.png" title="Golfer"/></a>
    <nav class="navbar navbar-default" data-spy="affix" data-offset-top="195">
      
      <ul class="nav navbar-nav navbar-right navbar-collapse navbar-collapse">
        <li><a class="scrollable" href="#top"><i class="fa fa-home"></i></a></li>
        <li><a class="scrollable" href="#aboutus">About Us</a></li>
        <li><a class="scrollable" href="#buy">BUY</a></li>
        <li id="right"><a href="#contacts">Contacts</a></li>
      </ul>
    </nav>
    </div>
        
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <section id="contacts">
      <h2>Contact Us</h2>
  <div>
    <form id="contactForm" novalidate="">
      <div class="form-item">
          <label for="“name”">Name</label>
          <input id="Name" type="text" placeholder="Name" required=""/>
        </div>
      <div class="form-item">
          <label for="“email”">Email Address</label>
          <input id="email" type="email" placeholder="Email Address" required=""/>
        </div>
        <div class="form-item">
          <label for="“phone”">Phone Number</label>
          <input id="phone" type="tel" placeholder="Phone Number" required=""/>
        </div>
        <div class="form-item">
          <label for="“message”">Message</label>
          <textarea id="message" rows="5" placeholder="Message" required=""></textarea>
          </div><br/>
        <button type="submit">Send</button>
      </form>
    
  <a id="contacts" name="contacts"></a>
  
  
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
    <p>Some text to enable crolling</p>
  </body>
</div>
              
            
!

CSS

              
                body {
  background-color: rgb(230,230,230);
}
nav {
  margin: 0%;
  height: 80px;
  box-shadow: 0px 2px 2px 1px rgba(0, 0, 0, 0.2);
 }
.navbar-default {
  background-color: white;
  border-color: white;
  border-width: 0px;
  border-radius: 0%;
  
}
li {
  font-family: "Copperplate Gothic Light", garamond;
  letter-spacing: 0px;
  font-weight: bold;
}
img{
  margin-left: auto;
  margin-right: auto;
  display: block;
  
}
#right {
  margin-right: 30px;
}
.affix {
  width: 100%;
  top: 0;
}
.bckgrnd{
  background-image: url(http://cdn1.savepice.ru/uploads/2017/7/27/4cc368954c746ebeab2ecfb9d7b309e2-full.jpg);
    border-left: 10px double white;
    border-top: 10px double white;
    border-right: 10px double white;
  border-bottom: 10px double white;
}
.img-responsive{
  width: 300px;
  margin-top: 10px;
  margin-bottom: 10px;
}
.form-item{
  position:relative;
  margin-bottom:10px;
  padding-bottom:10px;
  border-bottom:1px solid #bbb
}
.form-item input, .form-item textarea{
  index:1;
  position:relative;
  padding-right:0;
  padding-left:0;
  border:0;
  border-radius:0;
  font-size:1.5em;
  background:0 0;
  box-shadow:none!important;
  resize:none;width:100%;
}
.form-item input:focus{outline:0
}
.form-item label{
  display:block;
  z-index:0;
  position:relative;
  top:2em;
  margin:0;
  font-size:.85em;
  line-height:1.764705882em;
  vertical-align:middle;
  vertical-align:baseline;
  opacity:0;
  -webkit-transition:top .3s ease,opacity .3s ease;
  transition:top .3s ease,opacity .3s ease;
}
.form-item-filled label{
  top:0;
  opacity:1;
  color:#fff;
}
.form-item-focused label{color:#722872;
}
              
            
!

JS

              
                <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>


$(document).ready(function(){
    $("button").click(function(){
        $("p").fadeTo(1000, 0.4);
    });
});

              
            
!
999px

Console