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

              
                                                         
<div class=poticon>
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><style>@keyframes slide-top{0%{transform:translateY(1px)}to{transform:translateY(-2px)}}</style><path stroke="#0A0A30" stroke-linecap="round" stroke-width="1.5" d="M6 8.55v8.334c0 .92.768 1.667 1.714 1.667h8.572c.947 0 1.714-.746 1.714-1.667V8.551m-7 2.899h2"/><path fill="#265BFF" fill-rule="evenodd" d="M4.087 5.45H3.87a.533.533 0 00-.533.532v.967c0 .295.238.533.533.533h16.26a.533.533 0 00.533-.533v-.967a.533.533 0 00-.533-.533H4.087z" clip-rule="evenodd" style="animation:slide-top 1s cubic-bezier(.86,0,.07,1) infinite alternate-reverse both"/></svg>
  
 <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><style>@keyframes bluetooth{to{stroke-dashoffset:0}}</style><path stroke="#0A0A30" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.441 15.954l8.653-7.55a.5.5 0 00-.03-.777l-3.678-2.76a.5.5 0 00-.8.4v13.458a.5.5 0 00.802.398l3.666-2.785a.5.5 0 00.014-.785L7.441 8.494" style="animation:bluetooth 2s infinite ease-in" stroke-dashoffset="100" stroke-dasharray="100"/></svg>
  
 <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none"><style>@keyframes dribbble{0%{transform:translateY(-6px);animation-timing-function:ease-in;opacity:1}24%{opacity:1}40%,65%{transform:translateY(-6px);animation-timing-function:ease-in}82%{transform:translateY(-4px);animation-timing-function:ease-in}93%{transform:translateY(-2px);animation-timing-function:ease-in}25%,55%,75%,87%{transform:translateY(0);animation-timing-function:ease-out}to{transform:translateY(0);animation-timing-function:ease-out;opacity:1}}</style><path fill="#0A0A30" d="M18.734 7.984a7.946 7.946 0 00-2.913-2.912A7.836 7.836 0 0011.806 4c-1.45 0-2.789.358-4.016 1.072a7.943 7.943 0 00-2.912 2.912A7.84 7.84 0 003.806 12c0 1.45.357 2.79 1.072 4.016a7.939 7.939 0 002.913 2.912A7.837 7.837 0 0011.806 20c1.45 0 2.789-.358 4.016-1.072a7.946 7.946 0 002.913-2.912A7.839 7.839 0 0019.805 12c0-1.45-.356-2.79-1.071-4.016zm-6.928-2.656c1.6 0 3.018.512 4.256 1.535-.736.94-1.829 1.712-3.28 2.32-.802-1.45-1.67-2.661-2.609-3.632a6.172 6.172 0 011.633-.223zM6.614 7.84a6.493 6.493 0 012.169-1.776c.97.96 1.86 2.16 2.672 3.6-1.6.48-3.292.72-5.073.72-.459 0-.805-.01-1.04-.032A6.84 6.84 0 016.614 7.84zM5.134 12c0-.043.002-.096.008-.16.005-.064.008-.117.008-.16.203.011.513.016.929.016 2.132 0 4.116-.294 5.95-.88.15.298.306.634.465 1.008-1.056.234-2.14.805-3.249 1.712-1.11.907-1.92 1.862-2.431 2.864-1.12-1.27-1.68-2.736-1.68-4.4zm6.672 6.672c-1.515 0-2.875-.47-4.08-1.407.48-.95 1.218-1.858 2.216-2.721.997-.864 1.986-1.402 2.968-1.616a23.553 23.553 0 011.248 5.296 6.533 6.533 0 01-2.352.448zm5.664-3.168a6.683 6.683 0 01-2.064 2.097 23.028 23.028 0 00-1.103-4.865c.745-.053 1.412-.08 2-.08.639 0 1.348.027 2.127.08a6.48 6.48 0 01-.96 2.768zm-.992-4c-.928 0-1.787.038-2.576.112-.167-.438-.349-.87-.544-1.296 1.653-.725 2.825-1.605 3.52-2.64.96 1.131 1.482 2.422 1.567 3.872a39.987 39.987 0 00-1.967-.048z" style="animation:dribbble 2s infinite both"/></svg>
</div>
              
            
!

CSS

              
                .poticon {
  text-align:center;
}
              
            
!

JS

              
                
              
            
!
999px

Console