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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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="http://base.uskinned.net/css/base.css">
<!-- CONTAINER -->  
<div class="container">

  <!-- ROW --> 
  <div class="row">

    <div class="span2point2 cols first">
  
      1 of 5
      
    </div>
    
    <div class="span2point2 cols">
  
      2 of 5
      
    </div>

    <div class="span2point2 cols">
  
      3 of 5
      
    </div>
    
    <div class="span2point2 cols">
  
      4 of 5
      
    </div>
    
    <div class="span2point2 cols last">
  
      5 of 5
      
    </div>
    
  </div>
  <!-- ROW -->  

  <!-- ROW --> 
  <div class="row">

    <div class="span1point7 cols first">
  
      1 of 7
      
    </div>
    
    <div class="span1point7 cols">
  
      2 of 7
      
    </div>

    <div class="span1point7 cols">
  
      3 of 7
      
    </div>
    
    <div class="span1point7 cols">
  
      4 of 7
      
    </div>
    
    <div class="span1point7 cols ">
  
      5 of 7
      
    </div>
    
    <div class="span1point7 cols ">
  
      6 of 7
      
    </div>
    
    <div class="span1point7 cols last">
  
      7 of 7
      
    </div>
    
  </div>
  <!-- ROW -->  

  <!-- ROW --> 
  <div class="row">

    <div class="span1point3 cols first">
  
      1 of 9
      
    </div>
    
    <div class="span1point3 cols">
  
      2 of 9
      
    </div>

    <div class="span1point3 cols">
  
      3 of 9
      
    </div>
    
    <div class="span1point3 cols">
  
      4 of 9
      
    </div>
    
    <div class="span1point3 cols ">
  
      5 of 9
      
    </div>
    
    <div class="span1point3 cols ">
  
      6 of 9
      
    </div>
    
    <div class="span1point3 cols ">
  
      7 of 9
      
    </div>
    
    <div class="span1point3 cols ">
  
      8 of 9
      
    </div>
    
    <div class="span1point3 cols last">
  
      9 of 9
      
    </div>
    
  </div>
  <!-- ROW -->  

  <!-- ROW --> 
  <div class="row">

    <div class="span1point09 cols first">
      1 of 11
    </div>
    
    <div class="span1point09 cols">
      2 of 11
    </div>

    <div class="span1point09 cols">
      3 of 11
    </div>
    
    <div class="span1point09 cols">
      4 of 11
    </div>
    
    <div class="span1point09 cols ">
      5 of 11
    </div>
    <div class="span1point09 cols ">
      6 of 11
    </div>
    
    <div class="span1point09 cols">
      7 of 11
    </div>

    <div class="span1point09 cols">
      8 of 11
    </div>
    
    <div class="span1point09 cols">
      9 of 11
    </div>
    
    <div class="span1point09 cols ">
      10 of 11
    </div>
    
    <div class="span1point09 cols last">
      11 of 11
    </div>
    
  </div>
  <!-- ROW -->  

</div>
<!-- CONTAINER -->  
              
            
!

CSS

              
                
/* NEW STUFF */
.span2point2 {
  width:18.4%; /* 5 colums */
}
.span1point7 {
  width:12.571428%; /* 7 colums */
}
.span1point3 {
  width:9.333333%; /* 9 colums */
}
.span1point09 {
  width:7.272727%; /* 11 colums */
}

@media (max-width:767px) {

  .span2point2, 
  .span1point7,   
  .span1point3,
  .span1point09 {
    width:100%;
    }    
  
}


.cols {
  background-color:#ccc;/* ignore this line when implementing*/
  padding:10px 0;/* ignore this line when implementing*/
  text-align:center;/* ignore this line when implementing*/
  font-size:12px;
}
              
            
!

JS

              
                
              
            
!
999px

Console