Pen Settings

HTML

CSS

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

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

              
                
<!-- units-per-em="2016" -->
<svg width="32" height="32" viewBox="0 0 2016 2016" fill="#fff">
  <path d="M 1191 183 L 435 939 q-19 18 -25.5 42t0 47.5T435 1071l756 756q28 28 66 28t66 -28t28 -66t-28 -66L636 1008L1323 321q28 -28 28 -66t-28 -66q-16 -31 -63 -31q-10 0 -19 1t-18 4t-17 8t-15 12Z" />
</svg>

<svg width="32" height="32" viewBox="0 0 100 100" fill="#fff">
    <g transform="translate(0,100)">
        <g transform="scale(0.05,-0.05)">
        <path d="M1191 183L435 939q-19 18 -25.5 42t0 47.5T435 1071l756 756q28 28 66 28t66 -28t28 -66t-28 -66L636 1008L1323 321q28 -28 28 -66t-28 -66q-16 -31 -63 -31q-10 0 -19 1t-18 4t-17 8t-15 12Z" />
        </g>
    </g>
</svg>

<!-- units-per-em="2016" -->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="32" height="32" viewBox="0 0 2016 2016" fill="#fff">
  <path d="M693 176q-19 19 -25.5 44.5t0 50.5T693 315l680 693L693 1701q-28 28 -28 69t28 69.5t69 28.5t70 -28l756 -756q14 -14 21 -32.5t7 -37t-7 -37T1588 945L832 189Q813 170 794 160.5T756 151q-38 0 -63 25Z" />
</svg>

<svg width="32" height="32" viewBox="0 0 100 100" fill="#fff">
  <g transform="translate(0,100)">
    <g transform="scale(0.05,-0.05)">
      <path d="M693 176q-19 19 -25.5 44.5t0 50.5T693 315l680 693L693 1701q-28 28 -28 69t28 69.5t69 28.5t70 -28l756 -756q14 -14 21 -32.5t7 -37t-7 -37T1588 945L832 189Q813 170 794 160.5T756 151q-38 0 -63 25Z" />
    </g>
  </g>
</svg>





<!-- Resources:

http://www.justinmccandless.com/blog/Making+Sense+of+SVG+viewBox's+Madness
http://the.taoofmac.com/space/blog/2013/08/22/2200

-->
              
            
!

CSS

              
                body {
  background-color: hotpink;
}

              
            
!

JS

              
                
              
            
!
999px

Console