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.


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.



      svg(width='16', height='14', viewBox='0 0 16 14')
        path(d='M2 8.5L6 12.5L14 1.5')



  -webkit-perspective: 20
  perspective: 20
  position: absolute
  top: 50%
  left: 50%
  margin: -12px
  border: 2px solid #E8E8EB
  background: #E8E8EB
  border-radius: 4px
  transform: translate3d(0,0,0)
  cursor: pointer
  transition: all .3s ease
    border-color: #0B76EF

  display: block
  transition: all .4s ease
  transform-style: preserve-3d
  position: relative
  width: 20px
  height: 20px
  display: none
  &:checked + .cbx
    border-color: #0B76EF
      transform: rotateY(180deg)

  backface-visibility: hidden
  position: absolute
  top: 0
  left: 0
  width: 20px
  height: 20px
  border-radius: 2px

  background: white
  z-index: 1

  transform: rotateY(180deg)
  background: #0B76EF
  text-align: center
  color: white
  line-height: 20px
  box-shadow: 0 0 0 1px #0B76EF
    margin-top 3px
    fill none
      stroke white
      stroke-width 2.5
      stroke-linecap round
      stroke-linejoin round
  -webkit-font-smoothing: antialiased