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

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.

HTML

              
                <svg width="640px" height="360px" viewBox="0 0 640 360" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <g id="Desktop" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <path d="M80,240 C80,266.666667 93.3333333,280 120,280 C146.666667,280 160,266.666667 160,240 L160,80 L120,80 L120,220 L200,80 L280,80 L280,120 L240,120 L240,160 L280,160 L280,200 L240,200 L240,240 L280,240 L280,280 L200,280 L200,120 L320,240 L320,80 L440,80 L440,240 L400,240 L400,120 L360,120 L360,240 L480,120 L480,160 L560,160 L560,200 L480,200 L480,240 L600,240 L600,120 L520,120 L520,80 L600,80 L600,40 L480,40 L40,40 L40,320 L600,320 L600,280 L320,280" id="jens" stroke="#000000"></path>
    </g>
</svg>
              
            
!

CSS

              
                #jens{
    stroke:#f60;
    stroke-width: 6px;
    stroke-linejoin: round;
    stroke-linecap: round;
}
              
            
!

JS

              
                
              
            
!
999px

Console