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.


                h1.shimmer Pure CSS Shimmer
p This is a CSS-only implementation of Facebook's newly-open-sourced iOS Shimmer effect. Check it out on 
  a(href="") GitHub
  |. You can also find a Canvas implementation 
  a(href="") here
  | .


  background: #000

// Methods
vendor(prop, args)
  -webkit-{prop} args
  -moz-{prop} args
  {prop} args

  background: -webkit-gradient(args)
  background: -moz-gradient(args)
  background: gradient(args)

// Some Aesthetic Styling
  font-family: "Lato"
  font-weight: 300
  font-size: 3em
  margin: 0 auto
  padding: 0 140px 0 0 //Necessary for iteration delay :(
  display: inline
  margin-bottom: 0

  font-family: "Lato"
  font-weight: 300
  font-size: 1em
  color: rgba(255,255,255,0.65)
  width: 500px
  text-align: justify
  line-height: 1.5em
  border-top: 1px dashed rgba(255,255,255,0.2)
  margin: 10px 0 0 5px
  padding-top: 10px

   text-decoration: none
   color: #fff

     color: #fff

// Shimmer Magic
  text-align: center
  color: rgba(255, 255, 255, 0.1)

  gradientOptions= linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff)

  vendor(background-size, 125px 100%)
  vendor(background-clip, text)
  vendor(animation-name, shimmer)
  vendor(animation-duration, 2s)
  vendor(animation-iteration-count, infinite)
  background-repeat: no-repeat
  background-position: 0 0
  background-color: #222

@keyframes shimmer
    background-position: top left

    background-position: top right