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

              
                <div class='container'>

  <svg width="281" height="218" viewBox="0 0 281 218" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M261.226 107.046C252.274 111.931 220.517 105.919 211.748 123.577C202.979 141.236 198.715 149.26 190.87 152.808C183.396 156.188 173.745 159.816 167.89 155.707C162.835 153.377 148.945 149.709 133.819 153.676C121.951 158.258 97.9706 163.48 96.9908 147.705C96.011 131.931 87.6153 125.601 83.5399 124.408C74.7939 123.784 55.6861 120.575 49.2229 112.732C42.7597 104.889 24.6497 105.643 16.4026 107" stroke="white" stroke-opacity="0.5" stroke-dasharray="5 5" />

    <path class="solid-path" d="M261.226 107.046C252.274 111.931 220.517 105.919 211.748 123.577C202.979 141.236 198.715 149.26 190.87 152.808C183.396 156.188 173.745 159.816 167.89 155.707C162.835 153.377 148.945 149.709 133.819 153.676C121.951 158.258 97.9706 163.48 96.9908 147.705C96.011 131.931 87.6153 125.601 83.5399 124.408C74.7939 123.784 55.6861 120.575 49.2229 112.732C42.7597 104.889 24.6497 105.643 16.4026 107" stroke="white" stroke-width="2" />
    <!-- start circle -->
    <circle cx="17" cy="106" r="5" fill="white" />
    <circle cx="17" cy="106" r="5" fill="white">
      <animate attributeName="r" from="8" to="20" dur="1.5s" begin="0s" repeatCount="indefinite" />
      <animate attributeName="opacity" from="1" to="0" dur="1.5s" begin="0s" repeatCount="indefinite" />
    </circle>
    <!-- end circle -->
    <circle cx="264" cy="109" r="5" fill="white" />
    <circle cx="264" cy="109" r="5" fill="white">
      <animate attributeName="r" from="8" to="20" dur="1.5s" begin="0s" repeatCount="indefinite" />
      <animate attributeName="opacity" from="1" to="0" dur="1.5s" begin="0s" repeatCount="indefinite" />
    </circle>
  </svg>
</div>
              
            
!

CSS

              
                .solid-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 10;
  animation: dash 5s linear infinite;
}

.dashed-path {
    stroke-dasharray: 300;
}

@keyframes dash {
  from {
    stroke-dashoffset: 300;
  }
  to {
    stroke-dashoffset: 900;
  }
}


html{
  background: #E4503A
}

.container{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items:center;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console