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.


                <a href="" target="_blank">Link to<br />Google</a>


                @import compass

$red: rgba(255,72,81,1)
  @include transition( all 0.15s cubic-bezier(.46,.01,.14,1.35))
  white-space: nowrap
  font-family: "Lato"
  font-weight: 900
  font-size: 32px
  letter-spacing: 2px
  text-transform: uppercase
  text-decoration: none
  color: $red
  position: absolute
  top: 50%
  left: 50%
  @include translate( -50% , -50% )
    content: attr(href)
    @include transition( all 0s linear)
    overflow: hidden
    background-color: $red
    text-transform: lowercase
    position: absolute
    font-size: 10px
    letter-spacing: 0
    font-weight: 500
    bottom: -8px
    left: 0
    width: 100%
    display: inline-block
    @include translate( -15px , 100% )
    padding: 0 15px
    max-height: 0
    z-index: -1
    content: ""
    @include backface-visibility( hidden )
    @include transition( all 0.15s cubic-bezier(.46,.01,.14,1.35))
    position: absolute
    width: 100% 
    height: 2px
    background-color: $red
    bottom: -5px
    z-index: -2
    color: white
      padding: 10px 15px
      margin-left: -15px
      bottom: -10px
      height: 100%
      @include transition( all 0.25s cubic-bezier(.46,.01,.14,1.35) 0.3s )
      @include translate( -15px , 50% )
      padding: 10px 15px
      max-height: 30px
      opacity: 1