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

              
                <svg xmlns="http://www.w3.org/2000/svg" height="200" width="200">
  <mask id="mask1" maskUnits="userSpaceOnUse">
    <path d="M 120.178,180.41 C 89.018,181.361 41.922,132.266 43.604,85.871 44.428,63.141 54.667,31.355 79.78,32.655 95.235,33.455 101,45.913 101,56.85" />
  </mask>
  <mask id="mask2" maskUnits="userSpaceOnUse">
    <path d="M 72.434,56.7 C 72.434,68.215 80.344,80.762 99.339,81.721 111.157,82.419 134.406,73.416 125.318,41.762" />
  </mask>
  <path mask="url(#mask1)" d="M 91.059,56.796 C 91.156,56.157 91.303,55.285 91.433,54.654 91.816,52.779 92.323,50.926 92.821,49.075 94.178,44.544 96.079,40.061 98.308,37.031 102.036,31.96 95.531,25.787 87.155,26.03 83.878,26.125 80.313,27.204 76.962,29.714 59.575,42.739 52.961,85.789 52.961,91.714 55.866,131.859 80.584,198.75 117.961,198.965 V 162.214 C 87.726,166.296 62.849,121.777 59.711,89.462 58.986,81.98 69.211,49.964 82.961,49.214 83.08,51.593 82.774,54.129 82.196,56.766 Z" />
  <path mask="url(#mask2)" d="M 82.196,56.766 C 80.343,65.211 75.689,74.7 73.212,83.464 74.962,92.464 77.462,98.464 85.211,99.214 96.961,100.714 118.676,76.707 117.961,47.715 114.901,48.94 110.015,48.829 109.96,52.964 109.855,60.716 101.21,65.464 91.21,64.964 90.613,62.131 90.676,59.432 91.059,56.796 Z" />
</svg>
              
            
!

CSS

              
                mask path {
    fill: none;
    stroke: white;
    stroke-width: 40;
}
#mask1 path {
    stroke-dasharray: 240 240;
    stroke-dashoffset: 240;
    animation: brush1 5s linear infinite;
}
@keyframes brush1 {
      0% { stroke-dashoffset: 240; }
     15% { stroke-dashoffset: 240; }
     70% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}
#mask2 path {
    stroke-dasharray: 100 100;
    stroke-dashoffset: 100;
    animation: brush2 5s linear infinite;
}
@keyframes brush2 {
      0% { stroke-dashoffset: 100; }
     70% { stroke-dashoffset: 100; }
     90% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; }
}
              
            
!

JS

              
                
              
            
!
999px

Console