Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <div class="container">
  <h1>257</h1>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Press+Start+2P);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Press Start 2P', cursive;
  background: #59C4B4;
}

.container {
  margin: auto;
  top: 0; left: 0; bottom: 0; right: 0;
  position:absolute;
  width: 250px;
  height: 250px;
}

h1 {
  color: #fff;
  font-size: 80px;
  transform: rotate(20deg) skew(-20deg);
  -webkit-transform: rotate(20deg) skew(-20deg);
  -moz-transform: rotate(20deg) skew(-20deg);
  -o-transform: rotate(20deg) skew(-20deg);
  -ms-transform: rotate(20deg) skew(-20deg);
  text-shadow: 1px 1px 0 #51B3A3, 
    2px 2px 0 #51B3A3, 
    3px 4px 0 #51B3A3, 
    4px 5px 0 #51B3A3,
    5px 7px 0 #51B3A3,
    6px 8px 0 #51B3A3,
    7px 10px 0 #51B3A3,
    8px 11px 0 #51B3A3,
    9px 13px 0 #51B3A3,
    10px 14px 0 #51B3A3,
    11px 16px 0 #51B3A3,
    12px 17px 0 #51B3A3,
    13px 19px 0 #51B3A3,
    14px 20px 0 #51B3A3,
    15px 22px 0 #51B3A3,
    16px 23px 0 #51B3A3,
    17px 25px 0 #51B3A3,
    18px 26px 0 #51B3A3,
    19px 28px 0 #51B3A3,
    20px 29px 0 #51B3A3,
    21px 30px 0 #389788,
    23px 31px 0 #389788,
    24px 32px 0 #389788,
    26px 33px 0 #389788,
    27px 34px 0 #389788,
    29px 35px 0 #389788,
    30px 36px 0 #389788,
    32px 37px 0 #389788,
    33px 38px 0 #389788,
    35px 39px 0 #389788,
    36px 40px 0 #389788,
    38px 41px 0 #389788,
    39px 42px 0 #389788,
    41px 43px 0 #389788,
    42px 44px 0 #389788,
    44px 45px 0 #389788,
    45px 46px 0 #389788,
    47px 47px 0 #389788,
    48px 49px 0 #7ee5d6,
    49px 51px 0 #7ee5d6,
    50px 53px 0 #7ee5d6,
    51px 55px 0 #7ee5d6,
    52px 57px 0 #7ee5d6,
    53px 59px 0 #7ee5d6,
    54px 61px 0 #7ee5d6,
    55px 63px 0 #7ee5d6,
    56px 65px 0 #7ee5d6,
    57px 67px 0 #7ee5d6,
    58px 69px 0 #7ee5d6,
    59px 71px 0 #7ee5d6,
    60px 73px 0 #7ee5d6,
    61px 75px 0 #7ee5d6,
    62px 77px 0 #7ee5d6,
    63px 79px 0 #7ee5d6,
    65px 80px 0 #51B3A3,
    68px 81px 0 #51B3A3,
    70px 82px 0 #51B3A3,
    72px 83px 0 #51B3A3,
    74px 84px 0 #51B3A3,
    76px 85px 0 #51B3A3,
    78px 86px 0 #51B3A3,
    80px 87px 0 #51B3A3,
    82px 88px 0 #51B3A3,
    84px 89px 0 #51B3A3,
    86px 90px 0 #51B3A3,
    88px 91px 0 #51B3A3,
    90px 92px 0 #51B3A3;
}
              
            
!

JS

              
                
              
            
!
999px

Console