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

              
                <!-- https://icofont.com/icons -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000">
<path fill="currentColor" d="M795.3 0h-590.5999999999999c-112.60000000000005 0-204.70000000000005 92.1-204.70000000000005 204.7v590.7c0 112.49999999999989 92.1 204.5999999999999 204.7 204.5999999999999h590.7c112.59999999999991 0 204.69999999999993-92.10000000000002 204.69999999999993-204.70000000000005v-590.5999999999999c-0.10000000000002274-112.60000000000005-92.20000000000005-204.70000000000005-204.80000000000007-204.70000000000005z m15.900000000000091 613.9c-1.7000000000000455 2.5-4 5.399999999999977-6.800000000000068 8.5l-0.1999999999999318 0.20000000000004547c-11.900000000000091 14.199999999999932-25.200000000000045 27.5-39.90000000000009 39.799999999999955-101.5 93.80000000000007-268.49999999999994 205.39999999999998-290.49999999999994 188.20000000000005-19.19999999999999-15 31.599999999999966-88.20000000000005-26.900000000000034-100.39999999999998-4.099999999999966-0.5-8.199999999999989-1-12.199999999999989-1.5h-0.0999999999999659c-86-12.200000000000045-161.5-48.40000000000009-215.60000000000002-99.5-54.099999999999994-51.200000000000045-86.69999999999999-117.40000000000009-86.69999999999999-189.70000000000005 0-162.2 164.3-293.8 366.9-293.8 202.59999999999997 0 366.90000000000003 131.5 366.90000000000003 293.8-0.20000000000004547 56.60000000000002-20.200000000000045 109.5-54.89999999999998 154.39999999999998z m-395.70000000000005-240.89999999999998h-1.6000000000000227c-10.5 0-19.099999999999966 8.600000000000023-19.099999999999966 19.100000000000023v141.89999999999998c0 10.5 8.599999999999966 19.100000000000023 19.099999999999966 19.100000000000023h1.6000000000000227c10.5 0 19.100000000000023-8.600000000000023 19.100000000000023-19.100000000000023v-141.89999999999998c0-10.5-8.600000000000023-19.100000000000023-19.100000000000023-19.100000000000023z m-55.30000000000001 140.29999999999995h-53.30000000000001v-121.19999999999993c0-10.5-8.599999999999966-19.100000000000023-19.099999999999966-19.100000000000023h-1.6000000000000227c-10.5 0-19.099999999999966 8.600000000000023-19.099999999999966 19.100000000000023v141.89999999999998c0 10.5 8.599999999999966 19.100000000000023 19.099999999999966 19.100000000000023h74c10.5 0 19.100000000000023-8.600000000000023 19.100000000000023-19.100000000000023v-1.6000000000000227c0-10.5-8.600000000000023-19.100000000000023-19.100000000000023-19.100000000000023z m228.59999999999997-140.29999999999995h-1.599999999999909c-10.5 0-19.100000000000023 8.600000000000023-19.100000000000023 19.100000000000023v83.29999999999995l-69.20000000000005-92.79999999999995c-3.2999999999999545-5.800000000000011-9.5-9.700000000000045-16.599999999999966-9.700000000000045h-1.6000000000000227c-10.5 0-19.099999999999966 8.600000000000023-19.099999999999966 19.100000000000023v142c0 10.5 8.599999999999966 19.100000000000023 19.099999999999966 19.100000000000023h1.6000000000000227c10.5 0 19.099999999999966-8.600000000000023 19.099999999999966-19.100000000000023v-84.89999999999998l69.70000000000005 95.10000000000002c0.39999999999997726 0.6999999999999318 0.8999999999999773 1.2999999999999545 1.3999999999999773 1.8999999999999773 1.8999999999999773 2.6000000000000227 4.5 4.399999999999977 7.399999999999977 5.5 2.2000000000000455 0.8999999999999773 4.7000000000000455 1.3999999999999773 7.300000000000068 1.3999999999999773h1.599999999999909c3.2000000000000455 0 6.300000000000068-0.7999999999999545 8.900000000000091-2.2000000000000455 1.8999999999999773-0.8999999999999773 3.5-2.099999999999909 4.699999999999932-3.5 3.3999999999999773-3.5 5.5-8.199999999999932 5.5-13.399999999999977v-141.79999999999995c0-10.5-8.600000000000023-19.100000000000023-19.100000000000023-19.100000000000023z m136.70000000000005 0.30000000000001137h-74c-10.5 0-19.100000000000023 8.599999999999966-19.100000000000023 19.099999999999966v141.89999999999998c0 10.5 8.600000000000023 19.100000000000023 19.100000000000023 19.100000000000023h74c10.5 0 19.100000000000023-8.600000000000023 19.100000000000023-19.100000000000023v-1.599999999999909c0-10.5-8.600000000000023-19.100000000000023-19.100000000000023-19.100000000000023h-53.299999999999955v-30.30000000000001h53.299999999999955c10.5 0 19.100000000000023-8.600000000000023 19.100000000000023-19.100000000000023v-1.599999999999966c0-10.5-8.600000000000023-19.100000000000023-19.100000000000023-19.100000000000023h-53.299999999999955v-30.30000000000001h53.299999999999955c10.5 0 19.100000000000023-8.599999999999966 19.100000000000023-19.099999999999966v-1.6000000000000227c0.10000000000002274-10.600000000000023-8.5-19.19999999999999-19.100000000000023-19.19999999999999z"/>
</svg>
              
            
!

CSS

              
                svg{
  width:50px;
  color:green;
}
              
            
!

JS

              
                
              
            
!
999px

Console