Pen Settings



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


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


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.


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.


                <p class="modernist">Modernist</p>
<p class="fifties">Lemonade</p>
<p class="sport">Superbowl</p>
<p class="atari">Atari 2600</p>
<p class="ninetyfive">Spykids 3d</p>


                @import "compass/css3";

@import url(;

@import url(;
* {
  @include box-sizing(border-box);

p {
  padding: 2em 2rem;
  text-align: center;
.atari {
  font-family: 'press start 2p';
  font-size: 3rem;
  background: rgb(30, 30, 40);
  color: rgba(white, .9);
  text-shadow: 0 .1em 0 #000;
  $b: rgba(black, .3);
  @include background-image(linear-gradient($b 0%, $b 50%, transparent 50%, transparent 100%));
  background-repeat: repeat;
  background-size: 20px 10px;

$blue: rgb(30, 130, 230);
.fifties {
  font-family: lobster two;
  background: $blue;
  color: white;
  text-shadow: 0 8px 0 darken($blue, 9);
  font-size: 8rem;
  padding: 1em 2rem;

$red: rgba(250, 10, 10, .5);
$blue: rgba(10, 10, 250, .5);
.ninetyfive {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 3rem;
  color: rgba(black, .8);
  text-shadow: -.1em .1em 0 $red, .1em -.1em 0 $blue;

@import url(;

.modernist {
  font-family: six caps;
  text-transform: uppercase;
  background: #FF3743;
  background-size: 100%;
  color: white;
  letter-spacing: .2em;
  font-size: 6rem;
  text-shadow: .07em .07em 0 #FF3743, .1em .1em 0 white;

@import url(;
.sport {
  background-image: url(;
  background-size: 100%;
  background-position: center;
  font-size: 5rem;
  padding: 2em 2rem;
  font-family: oswald;
  color: white;