Pen Settings



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


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.


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.


                <a href="" class="tag">html5</a>



                @import "compass/css3";

/* Change the font-size and you'll see all proportional */

$font-size: 50px;
$border-size: 1px;
$with-radius: true;
$parent-background: #7db9e8;

/* Some cool theming for the tag */

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333;
  border-color: #777;
  border-style: solid;
  background-color: #fff;
  @include background-image(linear-gradient(#fff,#ddd));
  @include background-clip(padding-box);

/* All the necesary for making the tag */

  @extend .theme;
  display: block;
  float: left;
  text-decoration: none;  
  font-size: $font-size;
  padding: ($font-size / 2) ($font-size / 1.5);
  line-height: 1;
  position: relative;
  margin-left: $font-size * 0.75;
  border-width: $border-size $border-size $border-size 0;
    @include border-radius(0 $font-size / 4 $font-size / 4 0);
  &:before, &:after{
    content: "";
    border-width: $border-size;
    @extend .theme;
    z-index: -1;
    width: $font-size * 2;
    height: $font-size * 2;  
    border-radius: 0px;
    @include transform(translate(-$font-size - $border-size , -$border-size) scale(0.70711, 0.70711) rotateZ(-45deg) );
      @include border-radius($font-size / 3 0 0 0);
    @extend .theme;
    top:-$border-size + $font-size / 2 + $font-size / 4 ;
    left:-$font-size / 3;  
    width: $font-size / 2;
    height: $font-size / 2;
    @include border-radius(50%);
    background: $parent-background;

/* Some extra shadow :) */

.tag, .tag:before{
  @include box-shadow(2px 3px 3px rgba(0, 0, 0, 0.15));
  @include box-shadow(inset 2px 3px 3px rgba(0, 0, 0, 0.15));