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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <!-- 2017/03/07 Zineeworld -->
<div></div>
              
            
!

CSS

              
                $size: 10px;
$gray: #666;
$skin: #efd9be;
$brown: #49423a;
$blue: #4574fd;
$blue2: lighten($blue, 10%);
$blue3: darken($blue, 40%);
$white: #fff;

body {
  margin: 0;
  background-color: #999;
}

div {
  box-sizing: border-box;
  margin: 50px auto;
  width: $size;
  height: $size;
  transform: translateX(-100px);
  box-shadow: 
    20px 0px 0px 0px $gray, 
    20px 10px 0px 0px $gray, 
    20px 20px 0px 0px $gray, 
    10px 20px 0px 0px $gray, 
    10px 40px 0px 10px $gray, 
    10px 70px 0px 10px $gray, 
    10px 90px 0px 0px $gray, 
    20px 90px 0px 0px $gray, 
    20px 100px 0px 0px $gray, 
    20px 110px 0px 0px $gray, 
    0px 100px 0px 0px $gray, 
    0px 110px 0px 0px $gray, 
    0px 120px 0px 0px $gray, 
    0px 130px 0px 0px $gray, 
    0px 140px 0px 0px $gray, 
    0px 150px 0px 0px $gray,
    0px 160px 0px 0px $gray,
    10px 160px 0px 0px $gray,
    20px 160px 0px 0px $gray,
    
    50px 160px 0px 0px $gray, // keyboard
    60px 160px 0px 0px $gray,
    70px 160px 0px 0px $gray,
    
    60px 150px 0px 0px $skin,
    60px 150px 0px 0px $skin,
    75px 145px 0px 5px $skin,
    95px 145px 0px 5px $skin,
    115px 145px 0px 5px $skin,
    140px 140px 0px 10px $skin,
    160px 140px 0px 0px darken($skin, 7%),
    
    170px 10px 0px 0px $brown,
    185px 5px 0px 5px $brown,
    200px 0px 0px 0px $brown,
    190px 20px 0px 0px $brown,
    210px 20px 0px 10px $brown,
    220px 40px 0px 0px $brown,
    220px 50px 0px 0px $brown,
    200px 60px 0px 0px $brown,
    210px 60px 0px 0px $brown,
    220px 60px 0px 0px $brown,
    210px 70px 0px 0px $brown,
    230px 30px 0px 0px $brown,
    240px 30px 0px 0px $brown,
    245px 45px 0px 5px $brown,
    245px 65px 0px 5px $brown,
    240px 80px 0px 0px $brown,
    250px 80px 0px 0px $brown,
    250px 90px 0px 0px $brown,
    170px 40px 0px 0px $brown,  // eye
    
    160px 30px 0px 0px $skin,
    160px 40px 0px 0px $skin,
    150px 50px 0px 0px $skin,  // nose
    160px 60px 0px 0px $skin,
    160px 50px 0px 0px $skin,
    170px 50px 0px 0px $skin,
    170px 60px 0px 0px $skin,
    180px 60px 0px 0px $skin,
    190px 60px 0px 0px $skin,
    175px 25px 0px 5px $skin,
    190px 30px 0px 0px $skin,
    185px 45px 0px 5px $skin,
    205px 45px 0px 5px $skin,  // ear
    170px 70px 0px 0px $skin,
    180px 70px 0px 0px $skin,
    190px 70px 0px 0px $skin,
    200px 70px 0px 0px darken($skin, 7%),
    
    190px 80px 0px 0px $white,
    200px 80px 0px 0px $white,
    210px 80px 0px 0px $white,
    180px 90px 0px 0px $white,
    190px 90px 0px 0px $white,
    200px 90px 0px 0px $white,
    210px 90px 0px 0px $white,
    220px 90px 0px 0px $white,
    
    180px 100px 0px 0px $blue,
    190px 100px 0px 0px $blue,
    200px 100px 0px 0px $blue,
    210px 100px 0px 0px $blue,
    220px 100px 0px 0px $blue,
    230px 100px 0px 0px $blue,
    
    180px 110px 0px 0px $white,
    195px 115px 0px 5px $white,
    210px 115px 0px 5px $white,
    225px 115px 0px 5px $white,
    240px 110px 0px 0px darken($white, 3%),
    240px 120px 0px 0px darken($white, 3%),
    250px 120px 0px 0px darken($white, 3%),
    160px 120px 0px 0px $white,
    170px 120px 0px 0px $white,
    170px 130px 0px 0px $white,
    180px 130px 0px 0px $white,
    180px 140px 0px 0px $white,
    190px 140px 0px 0px $white,
    190px 150px 0px 0px $white,
    
    170px 110px 0px 0px $blue,
    180px 120px 0px 0px $blue,
    190px 130px 0px 0px $blue,
    200px 130px 0px 0px $blue,
    210px 130px 0px 0px $blue,
    220px 130px 0px 0px $blue,
    230px 130px 0px 0px $blue,
    240px 130px 0px 0px $blue,
    250px 130px 0px 0px $blue,
    
    205px 145px 0px 5px $white,
    225px 145px 0px 5px $white,
    245px 145px 0px 5px darken($white, 3%),
    
    150px 120px 0px 0px $blue,
    160px 130px 0px 0px $blue,
    170px 140px 0px 0px $blue,
    180px 150px 0px 0px $blue,
    190px 160px 0px 0px $blue,
    200px 160px 0px 0px $blue,
    210px 160px 0px 0px $blue,
    220px 160px 0px 0px $blue,
    230px 160px 0px 0px $blue,
    240px 160px 0px 0px $blue,
    250px 160px 0px 0px $blue,
    
    205px 175px 0px 5px $white,
    225px 175px 0px 5px $white,
    245px 175px 0px 5px darken($white, 3%),
    
    200px 190px 0px 0px $blue,
    210px 190px 0px 0px $blue,
    220px 190px 0px 0px $blue,
    230px 190px 0px 0px $blue,
    240px 190px 0px 0px $blue,
    250px 190px 0px 0px $blue,
    
    200px 200px 0px 0px $white,
    210px 200px 0px 0px $white,
    220px 200px 0px 0px $white,
    230px 200px 0px 0px $white,
    240px 200px 0px 0px darken($white, 3%),
    250px 200px 0px 0px darken($white, 3%),
    
    200px 220px 0px 10px $blue3,
    230px 220px 0px 10px $blue3,
    250px 210px 0px 0px $blue3,
    250px 220px 0px 0px $blue3,
    190px 240px 0px 0px $blue3,
    200px 240px 0px 0px $blue3,
    210px 240px 0px 0px $blue3,
    220px 240px 0px 0px $blue3,
    230px 240px 0px 0px $blue3,
    240px 240px 0px 0px $blue3,
    190px 250px 0px 0px $blue3,
    200px 250px 0px 0px $blue3,
    210px 250px 0px 0px $blue3,
    
    180px 210px 0px 0px $blue2,
    180px 220px 0px 0px $blue2,
    180px 230px 0px 0px $blue2,
    180px 240px 0px 0px $blue2,
    180px 250px 0px 0px $blue2,
    
    80px 220px 0px 0px $skin,
    80px 230px 0px 0px $skin,
    100px 220px 0px 10px $skin,
    130px 220px 0px 10px $skin,
    160px 220px 0px 10px $skin,
    90px 240px 0px 0px darken($skin, 7%),
    105px 245px 0px 5px darken($skin, 7%),
    125px 245px 0px 5px darken($skin, 7%),
    145px 245px 0px 5px darken($skin, 7%),
    165px 245px 0px 5px darken($skin, 7%),
}
              
            
!

JS

              
                
              
            
!
999px

Console