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

              
                <div class="container">
  <div class="navbar navbar-default text-center navbar-fixed-top">
  
  
    <div class="container-fluid">
      
      
      <div class="navbar-header hidden-xs">
        <a href="#" class="navbar-brand">MATT STOCKMAN</a>
      </div>
  
      <div>
       <ul class="nav navbar-nav">
         <li><a href="#">Home</a></li>
         <li ><a href="#portfolio">Portfolio</a></li>
         <li><a href="#contact">Contact</a></li>
       </ul>
        
       <ul class="nav navbar-nav navbar-right right  hidden-xs">
        <li class="col-xs-1"><a href="#"><i class="fa fa-facebook-square"></i></a></li>
        <li class="col-xs-1"><a href="#"><i class="fa fa-linkedin-square"></i></a></li>
        <li class="col-xs-1"><a href="#"><i class="fa fa-youtube-square"></i></a></li>
        </ul>
        
      </div>
    </div>
  </div>
  
  <!-- ////////////////////////////////// END NAV BAR ////////////////////////////////// -->
  
  <img class="img-responsive" id="topPic" src="https://www.officelovin.com/wp-content/uploads/2016/01/ragged-edge-london-office-6.jpg">

  
  <!-- ////////////////////////////////// PORTFOLIO ////////////////////////////////// -->
  
  <h1 id="portfolio">My Portfolio</h1>
  <div class="row">
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
    
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
    
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
    
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
    
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
    
    <div class="col-xs-6 col-md-4">
      <div class="thumbnail">
        <img src="http://findicons.com/files/icons/1166/leather_folder/256/leather_folder_orange.png">
      </div>
    </div>
      
  </div>
  
  
  
  <!-- ////////////////////////////////// END PORTFOLIO ////////////////////////////////// -->
  
  
  
  
  <!-- ////////////////////////////////// CONTACT ////////////////////////////////// -->
  
  <h1 id="contact">Contact Me</h1>
  
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut molestie eget odio sed tempus. In hendrerit molestie augue id dignissim. Sed molestie at nunc id lobortis. Morbi lobortis nulla nec mattis luctus. Nam congue quis tortor iaculis blandit. Praesent eget sapien dignissim, ultricies arcu id, facilisis metus. Sed bibendum nunc ac suscipit tincidunt. In a neque ligula.</p>
 
  <footer class="navbar-default navbar-fixed-bottom text-center">
    <div class="container-fluid">
      <span>What a footer!!!!</span>
    </div>
  </footer>
 
      
</div>
    
  
  
  
  

              
            
!

CSS

              
                #topPic{
  padding-bottom: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console