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

              
                <p>Optimized (674 bytes)</p>
<svg width="54" height="54" viewBox="0 0 54 54" xmlns="http://www.w3.org/2000/svg"><title>Slice 1</title><g fill="none" fill-rule="evenodd"><circle cx="26" cy="26" r="26" transform="translate(1 1)" stroke-width="1.5" stroke="#02AC81"/><g transform="translate(12 10)"><path d="M.962 27.857l28.673-.032s-4.182-2.637-4.182-5.397c0-2.76-.421-9.906-.657-12.897-.235-2.99-2.317-6.805-9.498-6.805-7.18 0-9.282 4.4-9.493 6.805-.212 2.406-.683 11.1-.67 12.897.011 1.797-4.173 5.429-4.173 5.429z" stroke="#02AC81" stroke-width="1.5"/><circle fill="#02AC80" cx="15.1" cy="1.5" r="1.5"/><path d="M12 30l6.658.002S17.881 33 15.33 33C12.778 33 12 30 12 30z" fill="#02AC80"/></g></g></svg>
<p>Unoptimized (1843 bytes)</p>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 40.3 (33839) - http://www.bohemiancoding.com/sketch -->
    <title>Slice 1</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="bell" transform="translate(1.000000, 1.000000)">
            <g id="Page-1">
                <g id="Notifications">
                    <g id="Oval-3" stroke-width="1.5" stroke="#02AC81">
                        <g id="path-1-link">
                            <circle id="path-1" cx="26" cy="26" r="26"></circle>
                        </g>
                    </g>
                    <g id="Group" transform="translate(11.000000, 9.000000)">
                        <path d="M0.961669922,27.8569336 L29.6347656,27.824707 C29.6347656,27.824707 25.4533691,25.1882324 25.4533691,22.4282227 C25.4533691,19.6682129 25.0319824,12.5222168 24.7963867,9.53125 C24.560791,6.5402832 22.479126,2.72607422 15.2982178,2.72607422 C8.11730957,2.72607422 6.01635742,7.12548828 5.8046875,9.53125 C5.59301758,11.9370117 5.12231445,20.6315918 5.13427734,22.4282227 C5.14624023,24.2248535 0.961669922,27.8569336 0.961669922,27.8569336 L0.961669922,27.8569336 Z" id="Path-2" stroke="#02AC81" stroke-width="1.5"></path>
                        <circle id="Oval" fill="#02AC80" cx="15.0999756" cy="1.5" r="1.5"></circle>
                        <path d="M12,30 L18.6582031,30.0021518 C18.6582031,30.0021518 17.8806152,33 15.3291016,33 C12.7775879,33 12,30 12,30 L12,30 Z" id="Path-3" fill="#02AC80"></path>
                    </g>
                </g>
            </g>
        </g>
    </g>
</svg>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console