Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non purus arcu. Aliquam erat volutpat. Vestibulum accumsan neque sit amet semper semper. Pellentesque maximus enim ut lectus pharetra eleifend <a href="#">абвгд еёжзийк лмн опрстуф хцчшщъ ыьэюя</a>. Sed vel magna sodales, semper sapien quis, accumsan velit. In felis dolor, consequat at mi ac, facilisis ornare lectus. Curabitur vehicula, felis eget dapibus rutrum, <a href="#">abcd efgh ijklmno pqrstu vwxyz</a> arcu nunc egestas dolor, eget blandit libero libero a nisi. Fusce in leo nibh. Aenean fermentum id ex id consequat.</p>
              
            
!

CSS

              
                body
  background #fff

a, a:active, a:hover, a:visited
  color #000
  outline 0
  text-decoration none

p
  font-family "Helvetica Neue", sans-serif
  font-size 19px
  line-height 29px
  color #000
  a[href]
    display inline
    position relative
    background-image -webkit-linear-gradient(top, #58aff6 0, #58aff6 100%)
    background-image linear-gradient(to bottom, #58aff6 0, #58aff6 100%)
    background-position 0 98%
    background-repeat repeat-x
    background-size 2px 2px
    border-bottom 0
    text-decoration none
    text-shadow 2px 0 #fff, 2px 0 #fff, 1px 0 #fff, -1px 0 #fff, -2px 0 #fff, -2px 0 #fff

              
            
!

JS

              
                
              
            
!
999px

Console