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.


  <label for="f-option" class="l-radio">
    <input type="radio" id="f-option" name="selector" tabindex="1">
  <label for="s-option" class="l-radio">
    <input type="radio" id="s-option" name="selector" tabindex="2">
    <label for="t-option" class="l-radio">
    <input type="radio" id="t-option" name="selector" tabindex="3">


                $primary: #6743ee
$seconday: #9F9F9F

  font-family: sans-serif
  min-height: 100vh
  display: flex
  justify-content: center
  align-items: center

  box-sizing: border-box

  padding: 6px
  border-radius: 50px
  display: inline-flex
  cursor: pointer
  transition: background .2s ease
  margin: 8px 0
  -webkit-tap-highlight-color: transparent
    background: rgba($seconday,.1)
    vertical-align: middle
    width: 20px
    height: 20px
    border-radius: 10px
    background: none
    border: 0
    box-shadow: inset 0 0 0 1px $seconday
    box-shadow: inset 0 0 0 1.5px $seconday
    appearance: none
    padding: 0
    margin: 0
    transition: box-shadow 150ms cubic-bezier(.95,.15,.5,1.25)
    pointer-events: none
      outline: none
      box-shadow: inset 0 0 0 6px $primary
    vertical-align: middle
    display: inline-block
    line-height: 20px
    padding: 0 8px