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.




                $white: #ffffff
$black: #444444

$icon-color: $black
$icon-color-hover: $white
$icon-dimension: 40px

// social colors from
$facebook: #3b5998
$twitter: #55acee
$instagram: #125688
$linkedin: #007bb5
$rss: #ff6600

$transition: all .2s ease-in-out

  background: whitesmoke

$list: (facebook, $facebook)(twitter, $twitter)(instagram, $instagram)(linkedin, $linkedin)(rss, $rss)

  @each $item, $color in $list
    .#{$item} .fa:after
      background: #{$color}

  width: 210px
  height: $icon-dimension
  text-align: center
  position: absolute
  left: 50%
  top: 50%
  margin: (-$icon-dimension * 0.5) 0 0 -105px
  padding: 0
    list-style-type: none
    display: inline-block
    margin: 0 0 0 -10px
    pading: 0
      text-align: center
      color: $icon-color
        display: inline-block
        font-size: 0
        line-height: 1
        cursor: pointer
        padding: 10px
        width: $icon-dimension
        height: $icon-dimension
        border-radius: 50%
        text-align: center
        position: relative
        color: $icon-color
        z-index: 1
        transition: $transition
          font-size: 20px
          z-index: 2
          position: relative
          opacity: 0
          pointer-events: none
          position: absolute
          left: 0
          top: 0
          width: 100%
          height: 100%
          border-radius: 100%
          content: ''
          transform: scale(0.2)
          transition: $transition
          color: $icon-color-hover
            transform: scale(1)
            opacity: 1


                // nothing to see here!