Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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.


			Quick Tip:
		You can get a whole bunch of freebies over at - Nice!
			Lorem ipsum:
		dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.


                @import compass

  background: #ffffff
  color: #686a6b
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0) 15px, #e5d5d6 16px, rgba(255, 255, 255, 0) 17px, rgba(255, 255, 255, 0) 20px, #e5d5d6 21px, rgba(255, 255, 255, 0) 22px)
  border: 1px solid rgba(200, 201, 204, 0.9)
  position: relative
    content: ""
    position: absolute
    z-index: -2
    float: left
    margin-left: 50px
    width: 230px
    margin: 100px auto 20px
        bottom: 19px
        left: 10px
        width: 50%
        height: 20%
        max-width: 300px
        box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7)
        transform: rotate(-2deg)
        right: 10px
        left: auto
        transform: rotate(2deg)

  background: rgba(255, 255, 255, 0)
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0) 2px, rgba(255, 255, 255, 0) 19px, #cfe8f3 20px, rgba(255, 255, 255, 0) 22px)
  margin: 30px 0
  padding: 2px 25px
  font-size: 12px
  line-height: 20px
    content: ''
    background: rgba(255, 255, 255, 0.7)
    border: 1px solid #c8c9cc
    width: 95px
    height: 20px
    position: absolute
    margin: 0 auto -20px
    top: -11px
    left: 70px
    transform: rotate(-1deg)
    font-weight: bold