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.

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

            
              <div class="topping bun top">
</div>
<div class="topping cheese"></div>
<div class="topping lettuce"></div>
<div class="topping onion"></div>
<div class="topping meat"></div>
<div class="topping bun bottom"></div>

            
          
!

CSS

            
              body {
  background:#100011;
  background-image:repeating-linear-gradient(90deg,rgba(yellow,.3),rgba(yellow,.3) 5vmin,rgba(red,.3) 5vmin,rgba(red,.3) 10vmin);
  font-size:10px;
  margin:calc(15%) auto;
  margin:30vmin auto;
}
.topping {
  border-radius:100vw;
  height:3vmin;
  margin:auto;
  text-align:center;
  width:60vmin;
}
.bun {
  background:#d2ad6e; /*http://www.colourlovers.com/color/D2AD6E/Sesame_Bun*/
  box-shadow:0px 0px 10px 0px rgba(#000,.4);
  height:6vmin;
  margin:auto;
  overflow:hidden;
  width:58vmin;
}
.top {
  border-radius:100vw 100vw 0vw 0vw;
  height:9vmin;
}
.bottom {
  border-radius:0 0 100vw 100vw;
}
.cheese {
  background:#FFC105; /*http://www.colourlovers.com/color/FFC105/mac_and_cheese*/
  height:1vmin;
}
.lettuce {
  background:green;
  border-radius:35%;
  height:2vmin;
  margin:-1px auto;
  width:62vmin;
  z-index:10;
}
.onion {
  background:#eee;
  border-radius:0;
  height:2vmin;
}
.meat {
  background:brown;
  height:6vmin;
  width:62vmin;
}
            
          
!

JS

            
              
            
          
!
999px

Console