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

              
                <svg class="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 434.73 239.89">
  <g id="strokes" fill="none" stroke="#bc85ff" stroke-linecap="round" stroke-linejoin="round">
    <path clip-path="url(#c)" class="cPath path" d="M73.92 153.45s-.5-9.78-10.64-12-19.5 2.28-22 14.62-7.18 29.8.7 39.37 20.84 12.39 36 4.23 21.68-31 24.5-40 11.18-22.82 35.47-13.23" stroke-width="21.5"/>
    <path clip-path="url(#a1)" class="a1Path path" d="M100 167.53s-3.23 24.63 1.83 27.17 9.58 3.1 10.84 1.83 27.6-27.31 34.21-41.81 5.49-17.88 5.49-18.87" stroke-width="20"/>
    <path clip-path="url(#a2)" class="a2Path path" d="M152 135.57s-11.5 51.43-11.22 55.05-2.53 20.41 3.24 20 17.45-11.41 18.58-15.91" stroke-width="17"/>
    <path clip-path="url(#s1)" class="s1Path path" d="M199.47 150.26s-3.36-12.3-10.26-13.56-12.25-1.41-15.91 2.39-8.73 13.8.56 22 21.4 13.66 24.64 22 4.65 20.84 2.67 24.22-6.33 9-10.69 8.87-11.69-2-14.93-5.92a34.39 34.39 0 0 1-4.78-7.6" stroke-width="20"/>
    <path clip-path="url(#s2)" class="s2Path path" d="M178.06 212.22s-4.9-6.54-4.62-11.89 5.63-16.47 8-19.29 15.62-11.12 19.42-14.08 13.1-9.57 14.36-13.79 7.46-14.64 10.28-15.63 12-4.93 16.47-.7 9.57 12 9.57 13.23" stroke-width="15"/>
    <path clip-path="url(#s3)" class="s3Path path" d="M249 144.55s-4.25-6.3-8.13-8.06-12.24-1.41-15.9 2.39-8.73 13.8.56 22 21.4 13.66 24.64 22 4.64 20.84 2.67 24.22-6.33 9-10.7 8.87-11.68-2-14.92-5.92" stroke-width="21"/>
    <path clip-path="url(#s4)" class="s4Path path" d="M229 212.84a13.91 13.91 0 0 1-4.56-10c0-6.19 4.09-16.61 6.48-19.85s6.05-10.55 19-13.51 26.16-8.42 28.55-11.23 5.38-7.14 5.38-12.35" stroke-width="17"/>
    <path clip-path="url(#i)" class="iPath path" d="M283.41 152.5s-3.4 25.16-1.85 31.5 1.13 21 7.18 21.12 18.09-3.59 20.06-11.9c0-8.59 7.95-32 12.18-36.67s10.84-14.78 20.55-14.08 16.75 5.35 16.9 9.43 1.12 13.52-6.62 20.56-13.09 9.71-16.47 9.15" stroke-width="23"/>
    <path clip-path="url(#e)" class="ePath path" d="M321.54 157s-5.07 27.31-3.38 32.38 6.9 16.61 17.46 15.91 23.86-4.86 29.78-15.42 11.59-19.62 12.17-22.59" stroke-width="23"/>
  </g>
</svg>
              
            
!

CSS

              
                body {
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

svg {
  width: 70vw;
  visibility: hidden;
  transform: translateY(-20%);
}
              
            
!

JS

              
                TweenMax.set(".path", {
 drawSVG: '0% 0%'
})

tl = new TimelineMax({delay: 0.2});

tl.addLabel("i", 6.5)
 .set(".logo", {autoAlpha: 1})
 .to(".cPath", 0.5, {drawSVG:"100%", ease: Linear.easeNone})
.to(".a1Path", 0.25, {drawSVG:"100%", ease: Linear.easeNone,}, '+=0.6')
.to(".a2Path", 0.25, {drawSVG:"100%", ease: Linear.easeNone,  },'+=0.6')
.to(".s1Path", 0.4, {drawSVG:"100%", ease: Linear.easeNone,  },'+=0.6')
.to(".s2Path", 0.3, {drawSVG:"100%", ease: Linear.easeNone,  },'+=0.6')
.to(".s3Path", 0.4, {drawSVG:"100%", ease: Linear.easeNone,  },'+=0.6')
.to(".s4Path", 0.2, {drawSVG:"100%", ease: Linear.easeNone,  }, '+=0.6')
.to(".iPath", 0.5, {drawSVG:"100%", ease: Linear.easeNone}, '+=0.6')
.to(".ePath", 0.5, {drawSVG:"100%", ease: Linear.easeNone }, '+=0.6')


// GSDevTools.create();
              
            
!
999px

Console