Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <svg class="logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 434.73 239.89">
  <g id="clips" fill="#4cbfa7">
    <clipPath id="c">
    <path d="M142.61 139.55c3.35 2.81 5.86 7.41 3.75 11.75s-8.45 7.73-10.24 5a9.74 9.74 0 0 0-6.12-4.63c-4.16-1.13-11.09.9-15.85 8.47s-4.37 11.06-6.18 15.65-3.06 10.91-13.18 20.21-23.86 13.07-28.46 13.85A73.32 73.32 0 0 1 55.05 211l-1 .08a9.57 9.57 0 0 0-1.86 0l-.19-.32h-.34l-.83.07q-.18 0-.18-.15h-.17q-12.78-1.62-18.34-13.63a45.36 45.36 0 0 1-3.82-12.24 63.09 63.09 0 0 1-.62-12.51 3.85 3.85 0 0 1 .07-1.1 5.1 5.1 0 0 0 .05-1.44q.69-5.79 1.9-11.45a43.19 43.19 0 0 1 4-11 55.35 55.35 0 0 1 3.56-5.78 26.18 26.18 0 0 1 4.64-5 24 24 0 0 1 14.56-6.2q7.81-.4 15.67 4.84a17.67 17.67 0 0 1 6.69 9.38 35.08 35.08 0 0 1 .77 4.15q.27 2.18.45 4.35a10.06 10.06 0 0 1-.37 3.65 7.92 7.92 0 0 1-1.92 3.28 4.74 4.74 0 0 1-4.46 2.06 5.47 5.47 0 0 1-4.2-2.85 15.57 15.57 0 0 1-1.57-3.19c-.38-1.15-.79-2.32-1.23-3.53a6.12 6.12 0 0 0-9.81-2.37 15.47 15.47 0 0 0-3 4.29 60.18 60.18 0 0 0-4.69 17.34 62.48 62.48 0 0 0 .59 18.08 9 9 0 0 0 3.18 5.8 13 13 0 0 0 6.42 2.45 20 20 0 0 0 14.31-4.24 36.33 36.33 0 0 0 11.81-13.64c2.52-5.43 2.53-7.28 4-13.48s3.38-11.78 6.53-16.1 9.61-14.39 18.45-16.81 14.17-1.17 19.76.65 5.39 2.3 8.75 5.11z"/>
    </clipPath>
    <clipPath id="a1"><path d="M154.51 156.31c1.41-2.95 2.73-5.94 2.82-9.6s.08-3.66-.63-5.51a6.6 6.6 0 0 0-5.94-4.39 6 6 0 0 0-3.72.82c-1 .65-3.29 4.12-3.72 4.86s-7.36 14.08-8.92 16.26-7.29 9.86-11.34 14.53-12.79 14.09-13.78 13.72-2.79-2.91-.78-12.68-12.88-6.91-16.77.42.19 22 1.4 24.73 6.66 6.12 10.79 6.78 8.16-.79 12.1-3.48a29.65 29.65 0 0 0 3.8-2.93c1.14-1 12.68-12.21 19.53-20.88s13.76-19.69 15.16-22.65z"/>
    </clipPath>
    <clipPath id="a2"><path d="M161.05 195.47c-4.12-1.35-7.26 1.3-8.6 3.24a14 14 0 0 1-2.69 3.09c-.48.38-1.08.88-1.82 1.5-.07-.89.22-7.52.4-9.39a45.14 45.14 0 0 1 .88-5.55q1.56-7.38 3.15-14.68t3.31-14.68c.39-2.06.73-4.11 1-6.16s.5-4.08.67-6.12a10.54 10.54 0 0 0-.63-5.51 6.6 6.6 0 0 0-5.94-4.39 6 6 0 0 0-3.72.82c-1 .65-1.87 1.86-3.72 4.86s-7.24 28.68-8.42 34.78a139.5 139.5 0 0 0-2.13 17.27q0 3.3.13 6.49a21 21 0 0 0 2.18 7.9 14 14 0 0 0 4 5.48 11.73 11.73 0 0 0 5.44 2.58 11.42 11.42 0 0 0 5.94-.58 15 15 0 0 0 5.66-3.85 50.08 50.08 0 0 0 5-7c1.16-2.01 4.03-8.75-.09-10.1z"/>
    </clipPath>
    <clipPath id="s1"><path d="M205.68 176.09c-.23-.45-5.44-8.38-11.6-11.93a76.83 76.83 0 0 1-7.39-4.62q-3.52-2.26-7.22-5c-.79-.56-6.53-6.58-2.69-10.58s10.08-1.45 11.42-.67a10 10 0 0 1 3.36 3.19c.45.56.84 1.06 1.18 1.51a14.75 14.75 0 0 0 1.34 1.51 4.13 4.13 0 0 0 4.29 1.18 4.28 4.28 0 0 0 3.11-3.36 7.77 7.77 0 0 0-.34-5.54 22.2 22.2 0 0 0-4.54-6.89 19.92 19.92 0 0 0-10.16-6 18.59 18.59 0 0 0-11.68.93 22 22 0 0 0-9.74 7.73c-2.46 3.47-3.7 6.07-3.7 11.25s1.34 10.63 4.88 14.62 10.44 8.34 15.36 13.7 7.81 8.44 10 17.71-2.57 13-4.7 13.44a5.37 5.37 0 0 1-5.54-2.85c-.68-1-1.52-1.8-4.59-3a5.31 5.31 0 0 0-6.92 4.23 9.34 9.34 0 0 0 .92 5.82 20.35 20.35 0 0 0 8.32 8.4 18.4 18.4 0 0 0 11.51 2 19.8 19.8 0 0 0 10.24-4 23.25 23.25 0 0 0 6.72-8.65q7.72-17.15-1.84-34.13z"/></clipPath>
    <clipPath id="s2"><path d="M174.09 217.1l8.37-10.28a6.1 6.1 0 0 1-1.56-1.82 11.49 11.49 0 0 1-1.68-3.52 9.68 9.68 0 0 1-.16-4 32.89 32.89 0 0 1 2.52-7.39c1.11-2.35 2.62-5.31 4.94-7.22s13.67-9.44 16.56-10.94 10-4.69 14.38-11.21 4.27-13 11.92-17.41 13.23 2.11 14.83 4 3.37 5.21 7.36 2.77 1.87-7.81 1-9.33a21.27 21.27 0 0 0-7.93-9.05c-5.62-3.72-15.48-4.75-22.35.27s-9.4 12.93-12.44 17.95-8.12 10.46-14 13.42-11.27 7.58-14 9.59a34.53 34.53 0 0 0-6 6.21 47.48 47.48 0 0 0-4 6.47 55.1 55.1 0 0 0-3 7.14 22.22 22.22 0 0 0 1.51 19.32 21.55 21.55 0 0 0 3.73 5.03z"/></clipPath>
    <clipPath id="s3"><path d="M257.5 176.09c-.23-.45-5.44-8.38-11.6-11.93a76.83 76.83 0 0 1-7.39-4.62q-3.52-2.26-7.22-5c-.79-.56-6.53-6.58-2.69-10.58s10.08-1.45 11.42-.67a10 10 0 0 1 3.36 3.19c.45.56.84 1.06 1.18 1.51a14.75 14.75 0 0 0 1.34 1.51 4.13 4.13 0 0 0 4.29 1.18 4.28 4.28 0 0 0 3.11-3.36 7.77 7.77 0 0 0-.34-5.54 22.2 22.2 0 0 0-4.54-6.89 19.92 19.92 0 0 0-10.16-6 18.59 18.59 0 0 0-11.68.93 22 22 0 0 0-9.74 7.73c-2.46 3.47-3.7 6.07-3.7 11.25s1.34 10.63 4.88 14.62 10.44 8.34 15.36 13.7 7.81 8.44 10 17.71-2.57 13-4.7 13.44a5.37 5.37 0 0 1-5.54-2.85c-.68-1-1.51-1.8-4.59-3a5.31 5.31 0 0 0-6.92 4.23 9.34 9.34 0 0 0 .92 5.82 20.35 20.35 0 0 0 8.32 8.4 18.4 18.4 0 0 0 11.51 2 19.8 19.8 0 0 0 10.24-4 23.25 23.25 0 0 0 6.72-8.65q7.73-17.15-1.84-34.13z"/></clipPath>
    <clipPath id="s4"><path d="M225.91 217.1l8.37-10.28a6.1 6.1 0 0 1-1.56-1.82 11.49 11.49 0 0 1-1.68-3.52 9.68 9.68 0 0 1-.16-4 33.92 33.92 0 0 1 2.52-7.39c1.11-2.35 2.62-5.31 4.94-7.22s8.26-8.67 17-10.53a104.53 104.53 0 0 0 20.63-6.65c6.38-2.67 13.53-8.54 14.75-13.33s-2.5-10.48-9.75-9.53c-7.39 2.26-5.14 9.86-10.91 15s-13.9 5.73-21.27 6.62-12.33 6.52-15 8.53a34.53 34.53 0 0 0-6 6.21 47.48 47.48 0 0 0-4 6.47 55.1 55.1 0 0 0-3 7.14 22.22 22.22 0 0 0 1.51 19.32 21.55 21.55 0 0 0 3.61 4.98z"/></clipPath>
    <clipPath id="i"><path d="M327.13 184.7c-3.57-2-1.94-8.55.3-9.38s7.38-1.18 12.14-4.17 7.56-5.68 11.26-11.08-.9-10-4.79-10-7.2.38-11.77 5.4-5.42 8.23-8.29 15.46-6.92 17.31-10.5 22.93a68.27 68.27 0 0 1-9.2 11.53c-1.51 1.39-5.71 3.69-7.5 4.7-6.61 3.58-13.67 2.07-18.49-3.42a26 26 0 0 1-4-6.05 35.12 35.12 0 0 1-2.35-6.55 94.74 94.74 0 0 1-2.69-19.32 90.43 90.43 0 0 1 1.48-19.75 18.59 18.59 0 0 1 .67-3.19 16.34 16.34 0 0 1 1.35-3.19c2.12-4.48 5.32-6.55 9.57-6.22a8.81 8.81 0 0 1 5 2.35 10.79 10.79 0 0 1 3 5.72 29.91 29.91 0 0 1 1 7.56q-.34 5.37-.93 10.58t-.92 10.58q-.17 3-.42 6t-.59 5.8v1.84a4.38 4.38 0 0 0 .34 1.68 5.48 5.48 0 0 0 1.09 2.27q.91 1.26 3.44-.25h.17l.17-.17.33-.33c.23 0 .34 0 .34-.09s.06-.08.17-.08l.84-.84 1.17-1.18a22.42 22.42 0 0 0 5.19-10.84c1.05-5.41.37-9.53 4.72-21.72s16.87-22.95 24.44-25.46 19.51-2.4 26.12 4.59 8.14 14.55 6.51 19.49-3.65 11.1-14.5 19.83-20.31 6.94-23.87 4.97z"/></clipPath>
    <clipPath id="e"><path d="M380.81 159.94a5.1 5.1 0 0 0-3.86-.17 6.42 6.42 0 0 0-3.36 2.69c-.68 1.23-1.29 2.38-1.85 3.44s-1.12 2.21-1.68 3.44l-2.94 5.88c-1 1.91-1.93 3.81-2.94 5.72a47.92 47.92 0 0 1-5.13 7 35 35 0 0 1-6.46 5.63 23.11 23.11 0 0 1-7 3.36 22.41 22.41 0 0 1-7.81.67 12.5 12.5 0 0 1-3.94-.93 8.31 8.31 0 0 1-3.1-2.26 11.25 11.25 0 0 1-2.46-3.78c-.6-1.47-2.18-3.29-1.13-13.29 0-12.67 4.79-18.58 1.83-21-11.33-2.12-15.74 10.58-19.94 20.34s1 21.6 2 22.95a36.79 36.79 0 0 0 5.3 5.82 28.58 28.58 0 0 0 13.86 6 36.52 36.52 0 0 0 16.21-.58 38.11 38.11 0 0 0 14.2-7.48 61.63 61.63 0 0 0 13.94-15.54 101.79 101.79 0 0 0 9.12-18.85 1.91 1.91 0 0 0 .16-.84 2.65 2.65 0 0 1 .34-1.18c.56-3.23-.56-5.59-3.36-7.04z"/></clipPath>
  </g>
  
  <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>
  <g id="strokes2" fill="none" stroke="#6fdcbf" 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>
  <g class="dot-group">
  <path id="dot"  fill="#6fdcbf" d="M285.9,144.7c-2.7,0.1-4.8-0.5-6.6-1.8c-1.7-1.3-2.8-3.1-3-5.4c-0.2-1.9,0.3-3.6,1.4-5.1
	c1.1-1.5,2.5-2.5,4.3-2.8c1.9-0.4,3.6-0.2,5.1,0.8c1.5,1,2.5,2.4,3,4.2c0.2,0.5,0.4,1,0.5,1.4c0.1,0.4,0.3,0.9,0.5,1.3
	c0.8,2,0.7,2.9-0.3,4.4C289.8,143.2,288.2,144.8,285.9,144.7z"/>
  </g>
</svg>
            
          
!
            
              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%);
}
            
          
!
            
              TweenMax.set(".path", {
 drawSVG: '0% 0%'
})
TweenMax.set(".dot-group", {
  yPercent: 100
})

CustomBounce.create("myBounce", {strength:0.6, squash:2});

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

tl.addLabel("i", 2.85)
  .set(".logo", {autoAlpha: 1})
  .staggerTo(".cPath", 0.5, {drawSVG:"100%", ease: Linear.easeNone},0.2)
.staggerTo(".a1Path", 0.25, {drawSVG:"100%", ease: Linear.easeNone,}, 0.2, '-=0.35')
.staggerTo(".a2Path", 0.25, {drawSVG:"100%", ease: Linear.easeNone,  }, 0.1, '-=0.04')
.staggerTo(".s1Path", 0.4, {drawSVG:"100%", ease: Linear.easeNone,  }, 0.1, '-=0.02')
.staggerTo(".s2Path", 0.3, {drawSVG:"100%", ease: Linear.easeNone,  }, 0.07, '-=0.1')
.staggerTo(".s3Path", 0.4, {drawSVG:"100%", ease: Linear.easeNone,  }, 0.1, '-=0.4')
.staggerTo(".s4Path", 0.2, {drawSVG:"100%", ease: Linear.easeNone,  }, 0.07, '-=0.1')
.from("#dot", 0.01, { autoAlpha: 0},'-=0.03')
.to("#dot", 0.4, {yPercent: -500, ease: Power4.easeOut},'-=0.01')
.to(".dot-group", 0.4, {scale: 1.4, ease: Power4.easeOut},'-=0.4')
.to("#dot", 0.9, {yPercent: -150, ease:"myBounce"})
.to("#dot", 0.9, {scaleY:0.6, scaleX:1.2, ease:"myBounce-squash", transformOrigin:"bottom", delay: -0.9})
.staggerTo(".iPath", 0.5, {drawSVG:"100%", ease: Linear.easeNone}, 0.05, "i")
.staggerTo(".ePath", 0.5, {drawSVG:"100%", ease: Linear.easeNone }, 0.05, '-=0.3')


// GSDevTools.create();
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console