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.

              <p>View port width: <span id="vpWidth"> </span></p>
<section class="container">
	<!--[if IE 9]><video style="display: none;"><![endif]-->
	<source srcset="https://cdn.shopify.com/s/files/1/0711/7957/files/runner-stretching-by-brick-wall.jpg 2x, https://cdn.shopify.com/s/files/1/0711/7957/files/runner-stretching-by-brick-wall_925x_762d9034-02b0-4c56-823c-2bb5fe7c598e.jpg" media="(min-width: 900px)">
  <source srcset="https://cdn.shopify.com/s/files/1/0711/7957/files/stretching-before-a-jog.jpg 2x, https://cdn.shopify.com/s/files/1/0711/7957/files/hand-grabs-toes-for-stretch_925x_205077b2-2c8d-41f2-b3af-b08f68356e02.jpg" media="(min-width: 600px)">
	<source srcset="https://cdn.shopify.com/s/files/1/0711/7957/files/mossy-rocky-hike.jpg?6184855359206974988 2x, https://cdn.shopify.com/s/files/1/0711/7957/files/mossy-rocky-hike.jpg?6184855359206974988">
	<!--[if IE 9]></video><![endif]-->
       srcset="https://cdn.shopify.com/s/files/1/0711/7957/files/mossy-rocky-hike.jpg?6184855359206974988, https://cdn.shopify.com/s/files/1/0711/7957/files/mossy-rocky-hike.jpg?6184855359206974988 2x" alt="Images from Unsplash.com" title="A demonstration in picturefill.js">
  box-shadow: 10px 21px 10px rgba(0,0,0,0.03);
%font_sans-serif{font-family: sans-serif;}

    background: url('https://i.imgur.com/7DuoHxY.png');
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    opacity: 0.6;

  background: rgba(255,255,255,0.4);
  text-align: center;
  padding: 5px;
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  color: #9D8BA5;
  text-shadow: 1px 1px 0 #ddd;
  @extend %box_shadow;
  @extend %font_sans-serif;

  max-width: 1000px;
  padding: 1em;
  margin:0 auto;
    display: table;
    margin: 0 auto;
    max-width: 100%;
    @extend %box_shadow;
              var mediaWidth = document.getElementById('vpWidth');

function _updateWidth() {
  mediaWidth.innerText = window.innerWidth;
window.addEventListener('load', function() {

window.addEventListener('resize', function() {
Loading ..................