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.

            
              <h1>scrset <br><small>(pixel density descriptor)</small></h1>
<hr />
<div class="row">
<ul class="text-center small-block-grid-1 medium-block-grid-3 large-block-grid-4">
 <li>
    <img 
           srcset="http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x,
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #01" />
    <p>Item #01</p>
  </li>
  <li><img 
           srcset="http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #02" />
    <p>Item #02</p>
  </li>
  <li><img 
           srcset="http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #03" />
    <p>Item #03</p>
  </li>
  <li><img 
           srcset="http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #04" />
    <p>Item #04</p>
  </li>
  <li><img 
           srcset="
                   http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #05" />
    <p>Item #05</p>
  </li>
  <li><img 
           srcset="
                   http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #06" />
    <p>Item #06</p>
  </li>
  <li><img 
           srcset="
                   http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #07" />
    <p>Item #07</p>
  </li>
  <li><img 
           srcset="
                   http://satyr.io/300x150 1x,
                   http://satyr.io/450x225 1.5x, 
                   http://satyr.io/600x300 2x, 
                   http://satyr.io/1200x600 3x"
           src="http://satyr.io/300x150"
           alt="Item #08" />
    <p>Item #08</p>
  </li>
</ul>
</div>
            
          
!
            
              body{
  font-family: 'Ubuntu', sans-serif;
}

.row{
  max-width:1240px;
}

h1{
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.8em;
  margin: 2em 0 0;
  text-align: center;
  line-height: 1;
}

@media only screen and (min-width: 40.063em) {
  h1{
    font-size: 2.4em;
  }
}
            
          
!
999px
Loading ..................

Console