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="161" height="161" xmlns="http://www.w3.org/2000/svg">
  <g fill="none" fill-rule="evenodd">
    <path d="M158.197 145.128L109.67 96.595c7.464-9.8 11.664-22.4 11.664-35.935C121.334 27.062 94.27 0 60.67 0 27.072 0 0 27.071 0 60.67c0 33.597 27.063 60.66 60.662 60.66 13.536 0 25.663-4.2 35.936-11.663l48.535 48.533c1.864 1.864 4.2 2.8 6.536 2.8 2.337 0 4.664-.936 6.536-2.8 3.728-3.736 3.728-9.336-.008-13.072zM60.67 102.667c-23.336 0-41.999-18.663-41.999-41.998 0-23.335 18.663-41.997 42-41.997 23.335 0 41.998 18.662 41.998 41.997 0 23.326-18.672 41.998-41.999 41.998z" fill="#FFF" fill-rule="nonzero"/>
    <path d="M61 103c-23.336 0-42-18.664-42-42s18.664-42 42-42 42 18.664 42 42c0 23.327-18.672 42-42 42z" fill="#000"/>
  </g>
</svg>
              
            
!

CSS

              
                

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: linear-gradient(rgba(#000, 0.3), rgba(#000, 0.3)), url('https://images.unsplash.com/photo-1536147210925-5cb7a7a4f9fe?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjE0NTg5fQ');
  background-size: cover;
  font-family: Roboto, sans-serif;
}

svg {
  margin-top: 50px;
  mix-blend-mode: screen;
}
              
            
!

JS

              
                
              
            
!
999px

Console