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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 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.

HTML

              
                <link href='https://fonts.googleapis.com/css?family=Lobster|Oswald|Raleway|Cabin|Sigmar+One' rel='stylesheet' type='text/css'>

<body>
  <div class="section">
    <div class="card">
      <div class="glasses">3D Glasses</div>
    </div>
  </div>

  <div class"section">
    <div class="card">
      <div class="long-shadow">late afternoon</div>
    </div>
  </div>
  
  <div class"section">
    <div class="card">
      <div class="retro">70's Retro</div>
    </div>
  </div>
  
  <div class"section">
    <div class="card">
      <div class="neon">Neon Glow</div>
    </div>
  </div>
  
  <div class="section">
    <div class="card">
      <div class="vintage">Vintage</div>
    </div>
  </div>
  
</body>
              
            
!

CSS

              
                body{
  display:flex;
  flex-direction:column;
  justify-contents: center;
  align-items: center;
  background-color: #ffaa00;
  
}

.section{
  display:flex;
  flex-direction:row;
  justify-contents:center;
  margin: auto;
}

.card{
  width: 500px;
  height: 135px;
  background-color: #ffffe6;
  box-shadow: 10px 10px 5px rgba(0, 0, 0,      0.65);  
  margin: 25px;
  
}




.glasses {
  font-family: 'Lobster', cursive;
  font-size: 100px;
  color: rgb(51, 51, 51);
  text-align: center;
  letter-spacing: 3px;
  text-shadow: -3px 0 1px rgb(30,242,241) , 3px 0 1px rgb(246,5,10) ;
}


.long-shadow {
  padding: 25px;
  padding-top: 0px;
  font-family: 'Oswald', sans-serif;
  font-size:80px;
  color: #F25F5C;
  text-align: center;
  text-shadow: 1px 1px 0 #70C1B3 , 2px 2px 0 #70C1B3 , 3px 3px 0 #70C1B3 , 4px 4px 0 #70C1B3 , 5px 5px 0 #70C1B3 , 6px 6px 0 #70C1B3 , 7px 7px 0 #70C1B3 , 8px 8px 0 #70C1B3 , 9px 9px 0 #70C1B3 , 10px 10px 0 #70C1B3 , 11px 11px 0 #70C1B3 , 12px 12px 0 #70C1B3 , 13px 13px 0 #70C1B3 , 14px 14px 0 #70C1B3 , 15px 15px 0 #70C1B3 , 16px 16px 0 #70C1B3 , 17px 17px 0 #70C1B3 , 18px 18px 0 #70C1B3 , 19px 19px 0 #70C1B3 , 20px 20px 0 #70C1B3 ;
}

.retro {
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
  color: #663300;
  text-align: center;
  text-transform: uppercase;
  -o-text-overflow: clip;
  text-overflow: clip;
  letter-spacing: 10px;
  text-shadow: 2px 2px 0 #F07818 , 4px 4px 0 #ffcc00 , 6px 6px 0 rgb(112,112,112) ;
}

.neon {
  padding: 20px;
  font-family: 'Lobster', cursive;
  font-size: 80px;
  color: rgba(255,255,255,1);
  text-decoration: normal;
  text-align: center;
  text-shadow: 0 0 10px rgba(255,255,255,1) , 0 0 20px rgba(255,255,255,1) , 0 0 30px rgba(255,255,255,1) , 0 0 40px #660099 , 0 0 70px #660099 , 0 0 80px #660099 , 0 0 100px #660099 ;
}

.vintage{
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 80px;
  color: #990033;
  text-shadow: 4px 4px 0 #00ffff , 5px 5px 0 #b3b3b3 , 6px 6px 0 #b3b3b3 , 7px 7px 0 #b3b3b3 , 8px 8px 0 #b3b3b3 , 9px 9px 0 #b3b3b3 , 10px 10px 0 #b3b3b3 , 11px 11px 0 #b3b3b3 , 12px 12px 0 #b3b3b3 , 13px 13px 0 #b3b3b3 , 14px 14px 0 #b3b3b3 , 15px 15px 0 #b3b3b3 , 16px 16px 0 #b3b3b3 , 17px 17px 0 #b3b3b3 , 18px 18px 0 #b3b3b3 , 19px 19px 0 #b3b3b3 , 20px 20px 0 #b3b3b3 ;
}

              
            
!

JS

              
                
              
            
!
999px

Console