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

              
                <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./dist/css/styles.css">
    <title>SVG Annimations</title>
</head>

<body>
    <svg id="logo" width="498" height="113" viewBox="0 0 498 113" fill="none" xmlns="http://www.w3.org/2000/svg">
        <path
            d="M64.132 5.632V3.132H61.632H48.384H45.884V5.632V79.792C45.884 83.8315 44.8221 86.9864 42.8508 89.4387C41.0615 91.5758 38.2271 92.844 33.84 92.844C29.5123 92.844 26.6175 91.5175 24.7071 89.1777C22.7266 86.6328 21.5954 83.2192 21.5075 78.735L21.4595 76.284H19.008H5.90399H3.40399V78.784C3.40399 88.0317 6.11422 95.6338 11.7682 101.288L11.7766 101.296L11.7851 101.305C17.4257 106.839 24.8671 109.508 33.84 109.508C42.7121 109.508 50.096 106.89 55.7334 101.465L55.7422 101.457L55.7508 101.449C61.3945 95.9114 64.132 88.604 64.132 79.792V5.632ZM94.9354 108.5H96.6903L97.2866 106.849L104.754 86.18H145.02L152.488 106.849L153.084 108.5H154.839H168.663H172.228L171.014 105.149L134.87 5.35664L134.273 3.708H132.519H117.399H115.648L115.05 5.35365L78.7619 105.146L77.5421 108.5H81.1114H94.9354ZM235.166 107.258L235.89 108.5H237.327H253.023H257.436L255.167 104.715L231.689 65.5401C238.503 63.5063 243.894 60.0105 247.674 54.9461C252.047 49.2143 254.227 42.5837 254.227 35.152C254.227 29.0916 252.835 23.606 249.995 18.7665C247.121 13.87 242.789 10.0542 237.14 7.27961C231.52 4.47192 224.731 3.132 216.879 3.132H184.479H181.979V5.632V106V108.5H184.479H197.583H200.083V106V67.46H211.986L235.166 107.258ZM231.146 23.1455L231.158 23.1573L231.171 23.1688C234.091 25.8522 235.691 29.7238 235.691 35.152C235.691 40.4563 234.105 44.4797 231.107 47.4838C228.191 50.3136 223.605 51.948 216.879 51.948H200.083V18.932H216.879C223.761 18.932 228.344 20.4992 231.146 23.1455ZM324.268 49.84V47.34H321.768H287.692V18.788H326.088H328.588V16.288V5.48801V2.98801H326.088H272.088H269.588V5.48801V106V108.5H272.088H326.088H328.588V106V95.2V92.7H326.088H287.692V63.14H321.768H324.268V60.64V49.84ZM398.096 49.84V47.34H395.596H361.52V18.788H399.916H402.416V16.288V5.48801V2.98801H399.916H345.916H343.416V5.48801V106V108.5H345.916H399.916H402.416V106V95.2V92.7H399.916H361.52V63.14H395.596H398.096V60.64V49.84ZM470.432 107.258L471.155 108.5H472.592H488.288H492.701L490.433 104.715L466.955 65.5401C473.769 63.5062 479.161 60.01 482.94 54.9452C487.313 49.2136 489.492 42.5833 489.492 35.152C489.492 29.0916 488.101 23.606 485.26 18.7665C482.386 13.8703 478.055 10.0546 472.407 7.28005C466.787 4.47206 459.998 3.132 452.144 3.132H419.744H417.244V5.632V106V108.5H419.744H432.848H435.348V106V67.46H447.251L470.432 107.258ZM466.412 23.1455L466.424 23.1573L466.437 23.1688C469.357 25.8522 470.956 29.7238 470.956 35.152C470.956 40.4566 469.37 44.4802 466.372 47.4843C463.456 50.3138 458.87 51.948 452.144 51.948H435.348V18.932H452.144C459.027 18.932 463.61 20.4992 466.412 23.1455ZM110.294 70.524L124.887 29.7541L139.481 70.524H110.294Z"
            stroke="white" stroke-width="5" />
    </svg>

</body>

</html>
              
            
!

CSS

              
                * {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  background-color: #202330;
}

#logo {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-animation: fill 0.5s ease forwards 1.5s;
          animation: fill 0.5s ease forwards 1.5s;
}

#logo path:nth-child(1) {
  stroke-dasharray: 535.4569396972656;
  stroke-dashoffset: 535.4569396972656;
  -webkit-animation: line-anim 2s ease forwards;
          animation: line-anim 2s ease forwards;
}

@-webkit-keyframes line-anim {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes line-anim {
  to {
    stroke-dashoffset: 0;
  }
}

@-webkit-keyframes fill {
  from {
    fill: transparent;
  }
  to {
    fill: white;
  }
}

@keyframes fill {
  from {
    fill: transparent;
  }
  to {
    fill: white;
  }
}
/*# sourceMappingURL=styles.css.map */
              
            
!

JS

              
                
              
            
!
999px

Console