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.


                <section class="container text-center">
  <h1>UX Progress Bar</h1>
  <div class="progress-bar">
    <div class="progress">
      <div class="progress-shadow"></div>


  background-color #f5f7f9
  color #bcbcbc
  font-family 'Open Sans', sans-serif
  font-size 65px
  font-weight lighter
  color #666
  margin 1em 0 0.5em
/* Helpers */
  text-align center
  margin 0 auto
  width 70%

/* Progress Bar Variables */
$progress-height = 10px
$progress-width = 500px
$progress-disabled-color = #e5e9eb
$progress-shadow-color = #eaecee
/* Progress Bar CSS*/
  margin 0 auto
  width $progress-width
  height $progress-height
  background-color $progress-disabled-color
    position relative
    background-color lightgreen
    height $progress-height
    width 100%
    -webkit-animation-duration 5s
    -webkit-animation-name width
      background-image linear-gradient(to bottom, $progress-shadow-color, transparent)
      position absolute
      height 4em
      width 100%
      top 100%
      transform skew(-22.5deg)
      transform-origin 0 0
@keyframes width
  0%, 100% 
    transition-timing-function cubic-bezier(1, 0, 0.65, 0.85)
    width 0
    width 100%