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 xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1573.16 6969.78">
  <defs/>
  <g id="la-linea-group" fill="none" stroke-width="6">
    <path id="la-linea" stroke="#fbce8e" d="M1570.19.43s-12.12 84.43-44 145c-40 76-105.19 145.54-105.19 145.54-73.24 75.95-421.2 121.45-443.64 134.88s-295.28-25.95-116 232.3-499.46 585.67-509.52 683l-14.72 27.29c-24.54 66.71-73.15 158.25-103.43 190.92s-37.55 79.21-75.71 53.68-46.49 136.13 64 171.73 949 2.06 1077.62 223.56 25.63 173.82-14.9 154-86.07-46.13-108.33-40.84-81.7 1.87-96.85-15.94l17.17 20.38 91 18.06s-65.29 14.87-120.85-14.3l18.85 18.24 80 13 16.32 9.72s-104.74-10.2-113.2-8.73l37.88 13 45 5 15.07 13.58c-35.4-12.37-89.8-3-89.8-3l-.27 9.43 39.36 12.14c-15.95 38.43-3.87 174.85-294.92 261.1s-602.56 183.39-425.75 247.86 351.42-148.68 112.75-101.1-93.13 90.85 0 70.5 66.77-55.64-24.19-37.33l-86.25 250.46c-104.95 3.83-472.53-53.06-355.18 93.14s309 253 542.29 263.32 286.35 255.21 334.62 347.25 102.71 3.68 119.6-9.44 185.32-60.16 152 25.09-235.72 18.17-255.31 46.42-6.67 53.33 47.47 54.53 94.9-61.58 100.2-101-18.26-77-58-68.39 134.14 123.49 111.78 155.6-114.36 63.29-98.2 13.74 44.39-98.41 71.21-116.6 145.29 120.43 171 134 179.33 198.39-216.7 201-1255.37 224.1-1022 294 187.63 18.74 296.34 108.84l-53.77 89.16c17.65 14.86 20.51 4.9 48 0s19.92 14.44 36.48 21.5 56.91-30.3 103.24 22.79 426.81 297.64 452.72 391.54 64.24 100 80.09 95.17-4.83 3-24.75-10.53 4.75-14.13 16.56-10.61-.54-7.34-16.56-15.36.13-9.62 16.56-10.55 94.77.72 111.88 10.55 56.68 0 56.68 0 24.66-23.07 40 15.36 266.35 311.7-347.39 274.32-914.68 427.14-781 460.16 409.68 0 409.68 0l28.44 236.94s17.56 292.74 468.09 349.85 38.11 125.95-106 114.44-139.13-118.43 258.21-124.7 130.73 188.59-39 220.75-704 124.06-696.59 303.75-74.69 248.34-174.6 124.08" transform="translate(-167.31 -.07)"/>
    <path id="la-linea-extra-3" stroke="#fbd39a" d="M456.06 2717.87c-39.52 21-61.22 32.62-61.22 32.62" transform="translate(-167.31 -.07)"/>
    <path id="la-linea-extra-2" stroke="#fbd39a" d="M416.76 2697.9L344 2739.6" transform="translate(-167.31 -.07)"/>
    <path id="la-linea-extra-1" stroke="#fbd39a" d="M456.06 2697.9l-54.24 30.15" transform="translate(-167.31 -.07)"/>
  </g>
  <g id="la-maska" fill="#fff">
    <path d="M1079.69 2109.93l4 3 12 6 26 7 70 15-5 2-20 1-33-3-51-11-16-17 9-8 4 5zM1063.69 2131.93l10.48 4.83 11.52 4.17 15 5 15.32 3.24 57.68 8.76 17 6-3.08 3.9-31.92-2.9-85.8-8.6-6.2-24.4z"/>
    <path d="M1233.21 2164.71l10.64.33 16.46 1s22.78 3 25.11 3.49 56 7.81 56 7.81l.34 16.3-8.65-3.66-17.79-4.16-13.14-1.49-33.75-2.33s-26.27-7.48-26.77-7.65-8.45-9.64-8.45-9.64zM1237 2188.48l8.48 5.82 46 14.8s.17 3-2 2.66-10.48.17-10.48.17l-1.49 2.16s-3.66 1.66-9.31-.17-32.93-11.64-32.76-12.47 1.56-12.97 1.56-12.97zM654.76 2656h-3l-1.33-7.32-9.31.33-7.48 42.73.89.23 7-.39s9.7-12.14 9.86-12.64 3.37-22.94 3.37-22.94z" transform="translate(-167.31 -.07)"/>
    <path d="M463 2698.53l10.31-.33-11.31 31.09-1.08.5-6.69-.25 8.77-31.01zM451.99 2735.9l2.82.21 3.91.08-55.58 174.34-6.31-1.67-1.67-12.63 51.88-159.96 4.95-.37z"/>
    <path d="M514.59 4345l-16.59-1.15s-59.63 84.68-59.63 85.57 9.53 7.32 9.53 7.32l9.31-3.77 54.32-51.21z" transform="translate(-167.31 -.07)"/>
  </g>
</svg>

              
            
!

CSS

              
                svg {
  border: 1px solid black; 
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}
              
            
!

JS

              
                gsap.registerPlugin(ScrollTrigger, DrawSVGPlugin);
var tl = gsap.timeline({defaults: {duration: 2, ease: "none"}, scrollTrigger: {
  //trigger: "#la-linea",
  scrub: true,
  /*
  start: "top center",
  end: "bottom center"
  */
}});
tl.from("#la-linea", {drawSVG: "0 0"}, 0);
              
            
!
999px

Console