css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <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>
    <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 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>
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................