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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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="translucent">
  <filter id="blur">
    <feGaussianBlur stdDeviation="5" />
Credit Yosemite Wallpaper
Link - right bottom
<a href="" class="credit">Yosemite Wallpaper</a>


                @import "nib"

  background url('') no-repeat 50% 50% fixed
  background-size cover
  font 14px/1.4 Helvetica, Arial, sans-serif
  overflow hidden

  width 400px
  position absolute
  display block
  line-height 120px
  top 50%
  left 50%
  background inherit
  border-radius 60px
  overflow hidden
  color #08c
  margin -60px -200px
  text-decoration none
  font-size 40px
  visibility hidden
    visibility visible
    content ''
    position absolute
    width 110%
    height 110%
    top -5%
    bottom -5%
    background inherit
    -webkit-filter url('#blur') saturate(2)
    -moz-filter url('#blur')
    filter url('#blur')
    background rgba(235,235,235,0.6)
    text-align center
    position relative
    display block
    visibility visible
    transition background .3s ease
      background rgba(235,235,235,0.54)

  position absolute
  bottom 15px
  right 15px
  color white
  display inline-block
  text-decoration none
  text-shadow 0px 1px 1px rgba(#000,.2)
    color rgba(235,235,235,0.6)