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="wrapper">
  <svg class="first" xmlns="http://www.w3.org/2000/svg" width="300" height="446" viewBox="0 0 300 446" fill="none">
<path d="M50.2314 3.15665C50.2314 3.15665 70.5646 24.224 52.0456 59.5076C52.0456 59.5076 44.0995 5.93484 50.2314 3.15665ZM50.2314 3.15665C56.3632 0.378467 97.5173 35.4734 97.5173 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M188.077 3.15665C188.077 3.15665 167.744 24.224 186.263 59.5076C186.263 59.5076 194.209 5.93484 188.077 3.15665ZM188.077 3.15665C181.946 0.378467 140.792 35.4734 140.792 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M120.419 67.5429C125.77 67.5429 130.108 61.9791 130.108 55.1158C130.108 48.2526 125.77 42.6888 120.419 42.6888C115.068 42.6888 110.73 48.2526 110.73 55.1158C110.73 61.9791 115.068 67.5429 120.419 67.5429Z" fill="#F79C5B"/>
<path d="M156.657 35.688C156.657 35.7075 83.3096 35.701 83.3096 35.688" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M73.6401 78.1611C73.6401 78.1611 81.5016 66.5474 91.1968 66.5474C100.892 66.5474 108.753 78.1611 108.753 78.1611C108.753 78.1611 100.892 89.7748 91.1968 89.7748C81.5016 89.7748 73.6401 78.1611 73.6401 78.1611Z" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M130.114 78.1612C130.114 78.1612 138.223 66.1831 148.224 66.1831C158.224 66.1831 166.333 78.1612 166.333 78.1612C166.333 78.1612 158.224 90.1393 148.224 90.1393C138.223 90.1393 130.114 78.1612 130.114 78.1612Z" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M149.264 66.2285C145.629 68.9416 143.269 73.2748 143.269 78.161C143.269 83.0473 145.622 87.387 149.264 90.0936C158.783 89.3128 166.333 78.161 166.333 78.161C166.333 78.161 158.783 67.0093 149.264 66.2285Z" fill="black"/>
<path d="M92.2048 66.593C88.6805 69.2216 86.3916 73.4246 86.3916 78.1612C86.3916 82.8978 88.674 87.1008 92.2048 89.7294C101.432 88.9746 108.754 78.1612 108.754 78.1612C108.754 78.1612 101.425 67.3477 92.2048 66.593Z" fill="black"/>
<path d="M120.92 100.744C128.257 100.744 134.204 98.5393 134.204 95.8192C134.204 93.099 128.257 90.8939 120.92 90.8939C113.583 90.8939 107.635 93.099 107.635 95.8192C107.635 98.5393 113.583 100.744 120.92 100.744Z" fill="black"/>
<path d="M120.926 100.374C120.926 100.374 122.89 120.263 108.728 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M121.29 100.374C121.29 100.374 119.327 120.263 133.489 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M138.997 107.153H170.592" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M138.997 101.389L170.592 95.624" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M103.617 107.153H72.0278" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M103.617 101.389L72.0278 95.624" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M186.263 59.5076C186.263 59.5076 212.832 141.285 133.483 141.285H116.141" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M52.0455 59.5076C52.0455 59.5076 44.9383 98.6104 52.0455 115.475C52.0455 115.475 61.5651 140.478 86.3915 140.478" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M148.224 161.78L115.802 142.775L148.295 140.478L148.224 161.78Z" fill="black"/>
<path d="M66.6048 134.109C48.8856 187.831 91.002 305.178 117.812 298.425C148.295 290.747 93.4145 196.283 93.4145 196.283" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M190.542 89.7293C190.542 89.7293 214.848 5.4274 236.163 12.0573C257.706 18.7523 186.764 182.62 186.764 182.62C242.444 254.052 257.712 414.51 245.006 420.899C245.006 420.899 296.792 391.842 296.792 442.793H237.788C232.19 442.793 227.046 439.722 224.387 434.79L172.185 337.912" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M71.3386 227.728C71.3386 227.728 82.7504 395.434 108.747 421.446C108.747 421.446 59.5171 389.584 59.5171 441.83H119.073C127.839 441.83 135.362 435.577 136.962 426.95L153.335 338.855" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M112.258 325.708C112.258 325.708 147.905 355.221 198.702 331.857" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M79.6485 321.881C79.6485 321.881 2.84131 290.905 2.84131 126.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
</svg>

  <svg class="second" xmlns="http://www.w3.org/2000/svg" width="351" height="446" viewBox="0 0 351 446" fill="none">
  <path d="M109.649 3.15665C109.649 3.15665 129.982 24.224 111.463 59.5076C111.463 59.5076 103.517 5.93484 109.649 3.15665ZM109.649 3.15665C115.781 0.378467 156.935 35.4734 156.935 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M247.495 3.15665C247.495 3.15665 227.162 24.224 245.681 59.5076C245.681 59.5076 253.627 5.93484 247.495 3.15665ZM247.495 3.15665C241.363 0.378467 200.209 35.4734 200.209 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M179.837 67.5429C185.188 67.5429 189.525 61.9791 189.525 55.1158C189.525 48.2526 185.188 42.6888 179.837 42.6888C174.486 42.6888 170.148 48.2526 170.148 55.1158C170.148 61.9791 174.486 67.5429 179.837 67.5429Z" fill="#F79C5B"/>
  <path d="M216.075 35.688C216.075 35.7076 142.727 35.7011 142.727 35.688" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M168.165 78.1611C168.165 78.1611 160.304 89.7748 150.608 89.7748C140.913 89.7748 133.052 78.1611 133.052 78.1611" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M225.75 78.1611C225.75 78.1611 217.642 90.1392 207.641 90.1392C197.64 90.1392 189.532 78.1611 189.532 78.1611" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M180.331 100.744C187.668 100.744 193.616 98.5393 193.616 95.8192C193.616 93.099 187.668 90.8939 180.331 90.8939C172.994 90.8939 167.046 93.099 167.046 95.8192C167.046 98.5393 172.994 100.744 180.331 100.744Z" fill="black"/>
  <path d="M180.344 100.374C180.344 100.374 182.308 120.263 168.146 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M180.708 100.374C180.708 100.374 178.745 120.263 192.907 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M198.414 107.153H230.01" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M198.414 101.389L230.01 95.624" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M163.034 107.153H131.445" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M163.034 101.389L131.445 95.624" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M245.681 59.5076C245.681 59.5076 272.25 141.285 192.9 141.285H175.558" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M111.463 59.5076C111.463 59.5076 104.356 98.6103 111.463 115.475C111.463 115.475 120.983 140.478 145.809 140.478V155.488" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M207.642 156.575L175.22 142.775L207.713 140.478L207.642 156.575Z" fill="black"/>
  <path d="M193.232 378.088C144.431 410.424 125.313 421.823 125.313 421.823C125.313 421.823 172.716 390.346 172.716 441.83H114.571C106.528 441.83 100.806 434.009 103.244 426.338L143.67 334.086" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M207.642 155.495C207.642 155.495 338.198 89.3974 347.594 109.652C356.204 128.207 244.628 176.308 244.628 176.308C244.628 176.308 299.196 273.779 239.621 337.886" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M142.773 155.495C142.773 155.495 12.2161 89.3974 2.82006 109.652C-5.7892 128.207 118.941 180.55 118.941 180.55" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M119.175 180.036C92.6061 376.884 223.182 357.821 232.104 433.404C232.741 438.785 237.364 442.799 242.781 442.799H304.801C304.801 442.799 310.244 393.527 253.386 422.109C253.386 422.109 269.577 323.708 187.679 298.705" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M131.445 310.052L10.7856 199.178" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  </svg>

  <svg class="third" xmlns="http://www.w3.org/2000/svg" width="205" height="446" viewBox="0 0 205 446" fill="none">
  <path d="M58.7046 334.086C58.7046 334.086 90.1766 360.144 135.024 339.512" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M19.6571 3.15665C19.6571 3.15665 39.9903 24.224 21.4713 59.5076C21.4713 59.5076 13.5253 5.93484 19.6571 3.15665ZM19.6571 3.15665C25.7889 0.378467 66.943 35.4734 66.943 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M157.503 3.15665C157.503 3.15665 137.17 24.224 155.689 59.5076C155.696 59.5076 163.635 5.93484 157.503 3.15665ZM157.503 3.15665C151.371 0.378467 110.217 35.4734 110.217 35.4734" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M89.8445 67.5429C95.1954 67.5429 99.5331 61.9791 99.5331 55.1158C99.5331 48.2526 95.1954 42.6888 89.8445 42.6888C84.4935 42.6888 80.1558 48.2526 80.1558 55.1158C80.1558 61.9791 84.4935 67.5429 89.8445 67.5429Z" fill="#F79C5B"/>
  <path d="M126.09 35.688C126.09 35.7076 52.7417 35.7011 52.7417 35.688" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M78.1729 78.1611C78.1729 78.1611 70.3114 89.7748 60.6162 89.7748C50.9211 89.7748 43.0596 78.1611 43.0596 78.1611" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M135.765 78.1611C135.765 78.1611 127.657 90.1392 117.656 90.1392C107.655 90.1392 99.5464 78.1611 99.5464 78.1611" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M90.3456 100.744C97.6825 100.744 103.63 98.5393 103.63 95.8192C103.63 93.099 97.6825 90.8939 90.3456 90.8939C83.0088 90.8939 77.061 93.099 77.061 95.8192C77.061 98.5393 83.0088 100.744 90.3456 100.744Z" fill="black"/>
  <path d="M90.3519 100.374C90.3519 100.374 92.3157 120.263 78.1533 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M90.7161 100.374C90.7161 100.374 88.7524 120.263 102.915 120.263" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
 
  <path d="M73.0426 107.153H41.4536" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M73.0426 101.389L41.4536 95.624" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M155.695 59.5076C155.695 59.5076 182.264 141.285 102.915 141.285H85.5728" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M21.4713 59.5076C21.4713 59.5076 14.3641 98.6103 21.4713 115.475C21.4713 115.475 30.9908 140.478 55.8172 140.478V155.488" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M117.649 156.575C110.289 161.422 85.228 142.775 85.228 142.775L117.727 140.485C117.727 140.478 121.011 154.363 117.649 156.575Z" fill="black"/>
  <path d="M55.8172 155.495C-5.57911 215.144 188.422 234.449 195.055 221.839C204.581 203.732 72.392 173.843 72.392 173.843" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M169.513 225.463C179 261.378 183.838 298.08 151.215 333.194" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M189.391 129.795C172.381 165.528 149.642 167.889 149.642 167.889C149.642 167.889 156.372 179.009 163.407 199.172" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M117.649 142.482C117.649 142.482 125.563 142.873 156.111 129.802" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M21.9072 306.311C-61.2529 229.588 159.825 227.728 84.2983 156.575" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M48.7299 190.499C-7.47093 350.722 43.2352 354.782 33.2475 433.626C32.6297 438.486 36.4077 442.793 41.304 442.793H102.317C102.317 442.793 110.36 396.123 53.5026 424.705C53.5026 424.705 103.923 376.683 85.3126 346.422" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M100.294 348.335C110.458 367.795 127.891 402.402 129.295 433.404C129.543 438.818 134.556 442.799 139.973 442.799H201.987C201.987 442.799 207.429 393.527 150.572 422.109C150.572 422.109 180.08 357.905 162.829 320.312" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  <path d="M166.093 131.09C135.863 128.891 97.3618 109.007 99.8458 97.745C103.624 80.666 145.064 98.9682 176.874 104.752C191.973 107.498 194.073 118.942 188.787 131.012" fill="#F5F5F5"/>
  <path d="M166.093 131.09C135.863 128.891 97.3618 109.007 99.8458 97.745C103.624 80.666 145.064 98.9682 176.874 104.752C191.973 107.498 194.073 118.942 188.787 131.012" stroke="black" stroke-width="4.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  </svg>

</div>
              
            
!

CSS

              
                body {
  margin: 0;
}

.wrapper {
  display: grid;
  gap: 35px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1440px;
  margin: 5rem auto;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
}

path {
  fill: transparent;
  stroke: #111111;
  stroke-width: 4
}
              
            
!

JS

              
                const firstImagePaths = document.querySelectorAll('.first path');
const secondImagePaths = document.querySelectorAll('.second path');
const thirdImagePaths = document.querySelectorAll('.third path');

const timeline = anime.timeline({
  duration: 3000,
  easing: 'easeInOutExpo'
}); 

timeline.add({ 
  targets: firstImagePaths,
  strokeDashoffset: [anime.setDashoffset, 0],
  delay: anime.stagger(300)
});

timeline.add({
  targets: secondImagePaths,
  strokeDashoffset: [anime.setDashoffset, 0],
  delay: anime.stagger(300)
}, '-=500');

timeline.add({
  targets: thirdImagePaths,
  strokeDashoffset: [anime.setDashoffset, 0],
  delay: anime.stagger(300)
}, '-=500');
              
            
!
999px

Console