cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation

     

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.

            
              <div class="row">
  <div class="item">
    <div class="content">
    Column 1
    </div>
  </div>
</div>
<div class="row">
<div class="item">
  <div class="content">
    Column 1/2
  </div>
</div>
<div class="item">
  <div class="content">
    Column 1/2
  </div>
</div>
</div>
<div class="row">
  <div class="item">
    <div class="content">
      Column 1/3
    </div>
  </div>
  <div class="item">
    <div class="content">
      Column 1/3
    </div>
  </div>
  <div class="item">
    <div class="content">
      Column 1/3
    </div>
  </div>
</div>
<div class="row">
  <div class="item">
    <div class="content">
    Column 1/4
    </div>
  </div>
  <div class="item">
    <div class="content">
      Column 1/4
    </div>
  </div>
  <div class="item">
    <div class="content">
      Column 1/4
    </div>
  </div>
  <div class="item">
    <div class="content">
      Column 1/4
    </div>
  </div>
</div>

<div class="row">
  <div class="item">
    <div class="content">
      <div class="row">
        <div class="item">
          <div class="content">
          Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla nec tellus velit. Nulla efficitur consequat turpis, quis ornare nunc ultricies a. Sed convallis, ex eget eleifend luctus, erat lacus semper ligula, non laoreet felis odio et ante. Aliquam eu tortor accumsan, consectetur justo id, consectetur risus. Morbi ultricies condimentum velit.
          </div>
        </div>
        <div class="item">
          <div class="content">
            Sed viverra odio non massa viverra vehicula. Nulla egestas tempus sapien venenatis placerat. Morbi vel est justo. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nulla vel urna est. Vivamus libero est, consectetur non dignissim maximus, imperdiet sit amet nulla. Nam in facilisis est, sit amet tincidunt eros. Vestibulum eu porttitor libero. Nulla aliquet et quam quis facilisis.
          </div>
        </div>
        <div class="item">
          <div class="content">
            Fusce elementum sit amet massa quis faucibus. Pellentesque nec risus sit amet velit facilisis posuere. Duis quis dui risus. Vestibulum sagittis, quam id volutpat tincidunt, tellus nulla elementum libero, in ultricies lorem ipsum id orci. Nulla ac elementum lacus.
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
            
          
!
            
              body {
  font-family: Arial;
  background-color: #e2e2e2;
}
.row{
	display: flex;
}
.item {
  flex: 1;
  background-color: #fff;
  color: #000;
  font-weight: bold;
  margin: 5px;
  text-align: center;
}
.content {
  padding: 15px;
}
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console