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.

            
              <h2>Grid Classes</h2>
<p>The Bootstrap 4 grid system has five classes:</p>
<h5><code>.col-</code> (extra small devices - screen width less than 576px)</h5>
<h5><code>.col-sm-</code> (small devices - screen width equal to or greater than 576px)</h5>
<h5><code>.col-md-</code> (medium devices - screen width equal to or greater than 768px)</h5>
<h5><code>.col-lg-</code> (large devices - screen width equal to or greater than 992px)</h5>
<h5><code>.col-xl-</code> (xlarge devices - screen width equal to or greater than 1200px)</h5>
<br>
<br>

<div class="container">
  <div class="row">
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-4">.col-sm-4</div>
    <div class="col-sm-4">.col-sm-4</div>
    <div class="col-sm-4">.col-sm-4</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-6">.col-sm-6</div>
    <div class="col-sm-6">.col-sm-6</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-4">.col-sm-4</div>
    <div class="col-sm-8">.col-sm-8</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-3">.col-sm-3</div>
    <div class="col-sm-3">.col-sm-3</div>
    <div class="col-sm-3">.col-sm-3</div>
    <div class="col-sm-3">.col-sm-3</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm-2">.col-sm-2</div>
    <div class="col-sm-2">.col-sm-2</div>
    <div class="col-sm-2">.col-sm-2</div>
    <div class="col-sm-2">.col-sm-2</div>
    <div class="col-sm-2">.col-sm-2</div>
    <div class="col-sm-2">.col-sm-2</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
    <div class="col-sm">.col-sm</div>
  </div>
</div>

<div class="container-fluid">
  <div class="row">
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
    <div class="col">.col</div>
  </div>
</div>
            
          
!
            
              .col, .col-sm, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8 {
  background-color: rgba(86, 61, 124, 0.15);
  border: 2px solid white;
  padding: 8px;
}

            
          
!
999px
Loading ..................

Console