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 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.

Quick-add: + add another resource

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.

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="col-6">
  <img src="https://images.unsplash.com/photo-1496116218417-1a781b1c416c?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=69383cbca6d1aa6c9eb28e50ed552ef5" width="100%">
  </div>
 <div class="col-6">
   <h4>Post Title</h4>
  <p>Lorem ipsum dolor sit amet, nulla enim velit dolor, fermentum sit et faucibus litora eget lectus. Ligula tellus turpis. Proin ullamcorper dui erat repellendus alias, et turpis lobortis quis augue sit sit. Unde feugiat magna, pellentesque ultricies pellentesque sit in nec, non egestas nibh donec massa vestibulum fermentum. A luctus, at massa. Potenti vitae diam curabitur. Nulla ut elementum venenatis sodales, sed bibendum felis morbi placerat placerat sodales.Elit nec massa mattis, nunc nam, adipiscing morbi laoreet, cras et varius.</p>
</div>
</div>
            
          
!
            
              * {
    box-sizing: border-box;
}
.row::after {
    content: "";
    clear: both;
    display: block;
}
[class*="col-"] {
    float: left;
    padding: 10px;
}

/* Column widths that will scale on mobile: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="col-"] {
        width: 100%;
    }
}
            
          
!
999px
Loading ..................

Console