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.




                @import "compass/css3";

/* What do you have to be scared of?
 * Lorin Tackett, July 2013

// Import google font
@import url(;

// Cloud vars
  ("" 1000px 20s),
  ("" 1000px 15s),
  ("" 1579px 17s);

// Animation & keyframes
// Refactor by @HugoGiraudel
@for $i from 1 through length($clouds) {
  $item     : nth($clouds, $i);
  $path     : nth($item, 1);
  $width    : nth($item, 2);
  $duration : nth($item, 3);
  @keyframes clouds-loop-#{$i} {
    to { background-position: -$width 0; }
  .clouds-#{$i} {
    background-image: url($path);
    animation: clouds-loop-#{$i} $duration infinite linear;

// =====================================================

html, body {
  font-family: 'Oswald', sans-serif;
  height:  100%;
  padding: 0;
  margin:  0;

body {
  @include background(linear-gradient(#333, #000));
  text-align:     center;
  vertical-align: middle;
  a {
    $color: #b8956b;
    @include inline-block;
    position:        relative;
    text-align:      right;
    text-decoration: none;
    font-weight:     normal;
    font-size:       1.5em;
    line-height:     1.5em;
    margin:          0;
    color:           $color;
    text-shadow:     0 -1px 0 rgba(lighten($color, 40%), 0.6),
                     0 2px 3px #000;
    span { display: block; }
.clouds {
  @include opacity(0.4);
  pointer-events: none;
  position: absolute;
  overflow: hidden;
  top:      0;
  left:     0;
  right:    0;
  height:   100%;

.clouds-3 {
  background-repeat: repeat-x;
  position: absolute;
  top:      0;
  right:    0;
  left:     0;
  height:   500px;