Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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="grid cf">
  <div class="slot-0-1">
    <div class="row row-0">
      <div class="slot-0-1">
        <p>
          <b>Slot 0 Row 0</b> able Cosby sweater Odd Future, 90's whatever dreamcatcher typewriter jean shorts. Keytar ennui twee Pitchfork, craft beer irony occupy locavore squid fashion axe. IPhone shabby chic 8-bit tilde literally. Tattooed tilde jean shorts, vegan raw denim Marfa hoodie drinking vinegar butcher sartorial selvage. High Life leggings tilde chambray, cray raw denim small batch irony fingerstache asymmetrical DIY authentic jean shorts. able Cosby sweater Odd Future, 90's whatever dreamcatcher typewriter jean shorts. Keytar ennui twee Pitchfork, craft beer irony occupy locavore squid fashion axe. IPhone shabby chic 8-bit tilde literally. Tattooed tilde jean shorts, vegan raw denim 
        </p>
      </div>
    </div>


    <div class="row row-1">
      <div class="slot-0-1">
        <p>
          <b>Slot 0 Row 1</b> Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. </p>
      </div>
    </div>
  </div>


  <div class="slot-2-3">
    <div class="row row-0">
      <div class="slot-0-1">
        <p>
          <b>Slot 2 Row 0</b>  Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. Tattooed tilde jean shorts, vegan raw denim Marfa hoodie drinking vinegar butcher sartorial selvage. High Life leggings tilde chambray, cray raw denim small batch irony fingerstache asymmetrical DIY authentic jean shorts. able Cosby sweater Odd Future, 90's whatever dreamcatcher typewriter jean shorts.
        </p>
      </div>
    </div>


    <div class="row row-1">
      <div class="slot-0-1"> <p>
        <b>Slot 2 Row 1</b> Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack.  </p>
      </div>
    </div>


    <div class="row row-2">
      <div class="slot-0-1"> <p>
        <b>Slot 2 Row 2</b>  Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. Tattooed tilde jean shorts, vegan raw denim Marfa hoodie drinking vinegar butcher sartorial selvage.   </p>
      </div>
    </div>
  </div>


  <div class="slot-4-5">
    <div class="row row-0">
      <div class="slot-0-1"> <p>
        <b>Slot 4 Row 0</b> Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. </p>
      </div>
    </div>


    <div class="row row-1">
      <div class="slot-0-1"> <p>
        <b>Slot 4 Row 1</b> Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. Tattooed tilde jean shorts, vegan raw denim Marfa hoodie drinking vinegar butcher sartorial selvage. High Life leggings tilde chambray, cray raw denim small batch irony fingerstache asymmetrical DIY authentic jean shorts.   </p>
      </div>
    </div>

    <div class="row row-2">
      <div class="slot-0-1"> <p>
        <b>Slot 4 Row 2</b> Mixtape lo-fi Austin Truffaut DIY actually banh mi, skateboard bespoke slow-carb. Twee Pitchfork pug, Truffaut iPhone hashtag kale chips banjo banh mi stumptown cred fanny pack. High Life leggings tilde chambray, cray raw denim small batch irony fingerstache asymmetrical DIY authentic jean shorts.  </p>
      </div>
    </div>
  </div>
</div>
</div>
              
            
!

CSS

              
                /* SimpleGrid - http://simplegrid.info - MIT License	*/

/* Containers */
body { font-size: 100%; }
.grid{ width:966px; }

/* Slots Setup */
.slot-0,.slot-1,.slot-2,.slot-3,.slot-4,.slot-5,.slot-0-1,.slot-0-1-2,.slot-0-1-2-3,.slot-0-1-2-3-4,.slot-0-1-2-3-4-5,.slot-1-2,.slot-1-2-3,.slot-1-2-3-4,.slot-1-2-3-4-5,.slot-2-3,.slot-2-3-4,.slot-2-3-4-5,.slot-3-4,.slot-3-4-5,.slot-4-5,.slot-6,.slot-7,.slot-8,.slot-9,.slot-6-7,.slot-6-7-8,.slot-6-7-8-9,.slot-7-8,.slot-7-8-9,.slot-8-9{ display:inline; float:left; margin-left:30px; }

/* 6-Col Grid Sizes */
.slot-0,.slot-1,.slot-2,.slot-3,.slot-4,.slot-5{ width:136px; } /* Sixths */
.slot-0-1,.slot-1-2,.slot-2-3,.slot-3-4,.slot-4-5{ width:302px; } /* Thirds */
.slot-0-1-2-3,.slot-1-2-3-4,.slot-2-3-4-5{ width:634px; } /* Two-Thirds */
.slot-0-1-2-3-4,.slot-1-2-3-4-5{ width:800px; } /* Five-Sixths */

/* 4-Col Grid Sizes */
.slot-6,.slot-7,.slot-8,.slot-9{ width:219px; } /* Quarters */
.slot-6-7-8,.slot-7-8-9{ width:717px; } /* Three-Quarters */

/* 6-Col/4-Col Shared Grid Sizes */
.slot-0-1-2,.slot-1-2-3,.slot-2-3-4,.slot-3-4-5, .slot-6-7,.slot-7-8,.slot-8-9{ width:468px; } /* Halves */

/***************************************/

* { box-sizing: border-box }
.grid { margin: 20px auto; }
.cf:after { content: ' '; display: block; clear: both; }

.slot-0-1, 
.slot-2-3, 
.slot-4-5 {
  margin: 0;
  padding-right: 10px;
  border-bottom: solid 4px;
}

.grid > .slot-0-1, 
.grid > .slot-2-3 { border-right: solid 4px; }

.slot-0-1 > .row-1 > .slot-0-1,
.row-2 > .slot-0-1, 
.grid > div { border-bottom: none; }
p {margin: 10px;}
              
            
!

JS

              
                
              
            
!
999px

Console