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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              @import "compass/css3";

@import url(https://fonts.googleapis.com/css?family=Raleway:900);

$blue:  #143444;

body {
  font-family:"Raleway";
  font-weight:400;
  background:lighten($blue,10%);
  font-size:20px;
  line-height:1.4;
}

h1 {
  color:$blue;
  font-weight:900;
  font-size:2.3em;
  text-transform:uppercase;
  line-height:1;
  text-shadow:
    -1em -1em 0em rgba(255,255,255,0.25),
    -2em -2em 0em rgba(255,255,255,0.25),
    -3em -3em 0em rgba(255,255,255,0.25),
    -4em -4em 0em rgba(255,255,255,0.5),
    -5em -5em 0em rgba(255,255,255,0.5),
    -6em -6em 0em rgba(255,255,255,0.5),
    -7em -7em 0em rgba(255,255,255,0.5),
    -8em -8em 0em rgba(255,255,255,0.5),
    -9em -9em 0em rgba(255,255,255,0.5),
    -10em -10em 0em rgba(255,255,255,0.5),
    -11em -11em 0em rgba(255,255,255,0.5),
    -12em -12em 0em rgba(255,255,255,0.5),
    -13em -13em 0em rgba(255,255,255,0.5),
    -14em -14em 0em rgba(255,255,255,0.5),
    -15em -15em 0em rgba(255,255,255,0.5),
    -16em -16em 0em rgba(255,255,255,0.5),
    1em 1em 0em rgba(255,255,255,0.25),
    2em 2em 0em rgba(255,255,255,0.25),
    3em 3em 0em rgba(255,255,255,0.25),
    4em 4em 0em rgba(255,255,255,0.5),
    5em 5em 0em rgba(255,255,255,0.5),
    6em 6em 0em rgba(255,255,255,0.5),
    7em 7em 0em rgba(255,255,255,0.5),
    8em 8em 0em rgba(255,255,255,0.5),
    9em 9em 0em rgba(255,255,255,0.5),
    10em 10em 0em rgba(255,255,255,0.5),
    11em 11em 0em rgba(255,255,255,0.5),
    12em 12em 0em rgba(255,255,255,0.5),
    13em 13em 0em rgba(255,255,255,0.5),
    14em 14em 0em rgba(255,255,255,0.5),
    15em 15em 0em rgba(255,255,255,0.5),
    16em 16em 0em rgba(255,255,255,0.5),
    8em 0em 0em rgba(255,255,255,0.25),
    7em -1em 0em rgba(255,255,255,0.25),
    6em -2em 0em rgba(255,255,255,0.25),
    5em -3em 0em rgba(255,255,255,0.25),
    4em -4em 0em rgba(255,255,255,0.5),
    3em -5em 0em rgba(255,255,255,0.5),
    2em -6em 0em rgba(255,255,255,0.5),
    1em -7em 0em rgba(255,255,255,0.5),
    0em -8em 0em rgba(255,255,255,0.5),
    -1em -9em 0em rgba(255,255,255,0.5),
    -2em -10em 0em rgba(255,255,255,0.5),
    -3em -11em 0em rgba(255,255,255,0.5),
    -4em -12em 0em rgba(255,255,255,0.5),
    -5em -13em 0em rgba(255,255,255,0.5),
    -6em -14em 0em rgba(255,255,255,0.5),
    -7em -15em 0em rgba(255,255,255,0.5),
    -8em -16em 0em rgba(255,255,255,0.5),
    -9em -17em 0em rgba(255,255,255,0.5),
    -10em -18em 0em rgba(255,255,255,0.5),
    -11em -19em 0em rgba(255,255,255,0.5),
    
    16em 0em 0em rgba(255,255,255,0.5),
    15em -1em 0em rgba(255,255,255,0.5),
    14em -2em 0em rgba(255,255,255,0.5),
    13em -3em 0em rgba(255,255,255,0.5),
    12em -4em 0em rgba(255,255,255,0.5),
    11em -5em 0em rgba(255,255,255,0.5),
    10em -6em 0em rgba(255,255,255,0.5),
    9em -7em 0em rgba(255,255,255,0.5),
    8em -8em 0em rgba(255,255,255,0.5),
    7em -9em 0em rgba(255,255,255,0.5),
    6em -10em 0em rgba(255,255,255,0.5),
    5em -11em 0em rgba(255,255,255,0.5),
    4em -12em 0em rgba(255,255,255,0.5),
    3em -13em 0em rgba(255,255,255,0.5),
    2em -14em 0em rgba(255,255,255,0.5),
    1em -15em 0em rgba(255,255,255,0.5),
    0em -16em 0em rgba(255,255,255,0.5),
    -1em -17em 0em rgba(255,255,255,0.5),
    -2em -18em 0em rgba(255,255,255,0.5),
    -3em -19em 0em rgba(255,255,255,0.5),
    9em 1em 0em rgba(255,255,255,0.25),
    10em 2em 0em rgba(255,255,255,0.25),
    11em 3em 0em rgba(255,255,255,0.25),
    12em 4em 0em rgba(255,255,255,0.5),
    13em 5em 0em rgba(255,255,255,0.5),
    14em 6em 0em rgba(255,255,255,0.5),
    15em 7em 0em rgba(255,255,255,0.5),
    16em 8em 0em rgba(255,255,255,0.5),
    17em 9em 0em rgba(255,255,255,0.5),
    18em 10em 0em rgba(255,255,255,0.5),
    19em 11em 0em rgba(255,255,255,0.5),
    20em 12em 0em rgba(255,255,255,0.5),
    21em 13em 0em rgba(255,255,255,0.5),
    22em 14em 0em rgba(255,255,255,0.5),
    23em 15em 0em rgba(255,255,255,0.5),
    17em 1em 0em rgba(255,255,255,0.5),
    18em 2em 0em rgba(255,255,255,0.5),
    19em 3em 0em rgba(255,255,255,0.5),
    20em 4em 0em rgba(255,255,255,0.5),
    21em 5em 0em rgba(255,255,255,0.5),
    22em 6em 0em rgba(255,255,255,0.5),
    23em 7em 0em rgba(255,255,255,0.5),   
    -8em 0em 0em rgba(255,255,255,0.25),
    -7em 1em 0em rgba(255,255,255,0.25),
    -6em 2em 0em rgba(255,255,255,0.25),
    -5em 3em 0em rgba(255,255,255,0.25),
    -4em 4em 0em rgba(255,255,255,0.5),
    -3em 5em 0em rgba(255,255,255,0.5),
    -2em 6em 0em rgba(255,255,255,0.5),
    -1em 7em 0em rgba(255,255,255,0.5),
    0em 8em 0em rgba(255,255,255,0.5),
    1em 9em 0em rgba(255,255,255,0.5),
    2em 10em 0em rgba(255,255,255,0.5),
    3em 11em 0em rgba(255,255,255,0.5),
    4em 12em 0em rgba(255,255,255,0.5),
    5em 13em 0em rgba(255,255,255,0.5),
    6em 14em 0em rgba(255,255,255,0.5),
    7em 15em 0em rgba(255,255,255,0.5),
    8em 16em 0em rgba(255,255,255,0.5),
    9em 17em 0em rgba(255,255,255,0.5),
    10em 18em 0em rgba(255,255,255,0.5),
    11em 19em 0em rgba(255,255,255,0.5),
    -16em 0em 0em rgba(255,255,255,0.5),
    -15em 1em 0em rgba(255,255,255,0.5),
    -14em 2em 0em rgba(255,255,255,0.5),
    -13em 3em 0em rgba(255,255,255,0.5),
    -12em 4em 0em rgba(255,255,255,0.5),
    -11em 5em 0em rgba(255,255,255,0.5),
    -10em 6em 0em rgba(255,255,255,0.5),
    -9em 7em 0em rgba(255,255,255,0.5),
    -8em 8em 0em rgba(255,255,255,0.5),
    -7em 9em 0em rgba(255,255,255,0.5),
    -6em 10em 0em rgba(255,255,255,0.5),
    -5em 11em 0em rgba(255,255,255,0.5),
    -4em 12em 0em rgba(255,255,255,0.5),
    -3em 13em 0em rgba(255,255,255,0.5),
    -2em 14em 0em rgba(255,255,255,0.5),
    -1em 15em 0em rgba(255,255,255,0.5),
    0em 16em 0em rgba(255,255,255,0.5),
    -9em -1em 0em rgba(255,255,255,0.25),
    -10em -2em 0em rgba(255,255,255,0.25),
    -11em -3em 0em rgba(255,255,255,0.25),
    -12em -4em 0em rgba(255,255,255,0.5),
    -13em -5em 0em rgba(255,255,255,0.5),
    -14em -6em 0em rgba(255,255,255,0.5),
    -15em -7em 0em rgba(255,255,255,0.5),
    -16em -8em 0em rgba(255,255,255,0.5),
    -17em -9em 0em rgba(255,255,255,0.5),
    -18em -10em 0em rgba(255,255,255,0.5),
    -19em -11em 0em rgba(255,255,255,0.5),
    -20em -12em 0em rgba(255,255,255,0.5),
    -21em -13em 0em rgba(255,255,255,0.5),
    -22em -14em 0em rgba(255,255,255,0.5),
    -23em -15em 0em rgba(255,255,255,0.5),
    -24em -16em 0em rgba(255,255,255,0.5),
    -17em -1em 0em rgba(255,255,255,0.5),
    -18em -2em 0em rgba(255,255,255,0.5),
    -19em -3em 0em rgba(255,255,255,0.5),
    -20em -4em 0em rgba(255,255,255,0.5),
    -21em -5em 0em rgba(255,255,255,0.5),
    -22em -6em 0em rgba(255,255,255,0.5),
    -23em -7em 0em rgba(255,255,255,0.5),
    -24em -8em 0em rgba(255,255,255,0.5)
    ;
  transition:text-shadow 1s, color 1s;
  cursor:pointer;
  
  &:hover {
    text-shadow:none;
    color:rgba(255,255,255,0.5);
    transition:text-shadow 1s, color 3s;
  }
}



            
          
!
            
              //Thank you @nchevobbe for the idea (and code) to use flexbox!
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console