Pen Settings

HTML

CSS

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

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                h1 Double Vision
              
            
!

CSS

              
                @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;
  }
}



              
            
!

JS

              
                //Thank you @nchevobbe for the idea (and code) to use flexbox!
              
            
!
999px

Console