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 id="LongWalks" x="0px" y="0px"
width="612.371px" height="221.118px" viewBox="0 0 612.371 221.118" enable-background="new 0 0 612.371 221.118"
	 xml:space="preserve">
<line fill="none" stroke="#444444" stroke-width="6" stroke-miterlimit="10" x1="610.848" y1="157.99" x2="2.5" y2="157.99"/>
<path class="LongWalks One" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" enable-background="new    " d="
	M54.158,61.994c5.722,0.543,11.495,1.296,17.231,0.5c5.964-0.828,11.606-3.113,16.638-6.394
	c9.299-6.062,17.024-15.278,21.004-25.675c1.878-4.907,3.251-10.05,3.05-15.346c-0.121-3.17-0.458-6.921-3.065-9.115
	c-5.597-4.707-13.229,3.104-16.61,6.949c-9.899,11.26-15.389,25.653-19.721,39.792c-2.208,7.205-3.18,14.624-4.021,22.118
	c-1.293,11.528-1.68,23.617-4.532,34.896c-0.798,3.156-2.043,6.174-3.147,9.23c-1.437,3.973-3.102,7.863-5.058,11.609
	c-4.327,8.289-10.036,16.045-17.195,22.107c-5.752,4.871-13.383,9.49-21.238,8.734c-6.221-0.598-10.741-5.096-12.262-11.027
	c-3.617-14.107,6.809-28.488,17.379-36.617c10.6-8.152,25-12.767,36.449-3.58c5.128,4.115,9.059,9.492,12.085,15.289
	c3.03,5.804,5.569,12.007,7.624,18.225c1.664,5.037,4.283,10.105,8.838,13.11"/>
<path class="LongWalks Two" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" d="M118.716,98.218
	c8.255,0,14.875,4.523,17.88,12.132c3.363,8.514-0.977,18.396-5.102,25.951c-2.611,4.787-5.951,9.447-10.454,12.625
	c-2.638,1.861-6.273,3.107-9.402,1.789c-6.076-2.561-3.101-11.756-1.837-16.365c0.627-2.293,1.345-4.611,2.218-6.82
	c1.967-4.982,4.417-9.826,7.769-14.029c6.401-8.027,19.976-12.666,29.431-7.561c9.162,4.947,11.906,15.129,11.146,24.834
	c-0.126,1.607-0.316,4.414,1.049,5.623c2.668,2.359,5.014-5.883,5.701-7.359c4.406-9.463,11.17-17.768,16.953-26.404
	c0.599-0.893,3.232-5.449,4.875-3.658c1.242,1.356,0.419,4.003,0.096,5.556c-0.51,2.449-0.885,4.924-1.495,7.352
	c-0.673,2.672-1.901,5.391-1.901,8.18c0,4.098,0.314,9.52,2.324,13.172c4,7.277,9.936,15.256,18.984,15.596"/>
<path class="LongWalks Three" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" d="M248.637,126.157
	c-2.266,7.135-6.207,8-9.303,9.797c-3.952,2.295-8.904,4.381-13.541,3.186c-6-1.545-7.303-8.182-5.658-13.418
	c2.149-6.848,8.101-12.332,14.334-15.545c3.468-1.787,9.844-4.424,13.195-0.99c2.561,2.623,2.127,6.936,1.764,10.262
	c-0.47,4.283-1.283,8.592-0.877,12.914c0.709,7.529-2.102,14.975-1.896,22.525c0.168,6.158,0.971,12.25,1.794,18.346
	c1.143,8.455,2.733,17.162,1.735,25.707c-0.441,3.781-1.861,7.848-4.182,10.916c-5.197,6.871-17.616,8.361-25.063,5.125
	c-6.435-2.795-10.542-8.883-11.269-15.785c-0.391-3.725,0.02-7.578,0.606-11.262c1.271-7.986,3.837-15.844,7.571-23.016
	c3.121-5.996,6.893-11.709,11.315-16.826c5.858-6.777,13.979-11.514,22.856-12.926c2.531-0.402,5.162-0.625,7.727-0.625"/>
<path class="LongWalks Four" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" d="M335.871,93.292
	c-0.146,10.433-4.93,19.802-8.463,29.345c-1.396,3.775-3.537,7.443-3.854,11.531c-0.479,6.211,4.486,7.963,9.713,4.777
	c3.754-2.291,7.033-5.146,10.34-8.018c3.422-2.973,6.412-7.748,8.762-11.748c0.736-1.252,2.943-12.402,4.922-11.957
	c2.555,0.586,1.473,9.662,1.406,11.375c-0.344,8.695,2.494,33.041,16.75,24.973c8.994-5.092,12.611-15.867,15.541-25.141
	c3.75-11.867,5.633-24.321,5.633-36.763"/>
<path class="LongWalks Five" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" d="M431.746,126.167
	c0.316-4.484,1.764-8.857,2.178-13.344c0.322-3.482,1.045-9.238-1.76-11.967c-10.432-10.155-22.898,16.79-24.703,24.002
	c-0.988,3.943,0.234,10.568,4.99,11.932c6.961,1.994,12.566-10.025,20.184-8.281c3.941,0.904,6.895,3.967,10.617,5.387
	c3.869,1.477,8.547,1.721,12.643,1.518c5.859-0.287,11.254-2.652,16.08-5.875c12.102-8.08,21.373-19.58,24.396-34.014
	c0.979-4.678,2.355-9.901,1.516-14.708c-0.701-4.014-4.139-7.246-8.252-6.841c-7.818,0.771-11.32,7.863-13.361,14.501
	c-2.789,9.073-4.328,18.623-2.965,28.087c1.879,13.041,12.17,23.984,26.063,19.729"/>
<path class="LongWalks Six" fill="none" stroke="#1BABB1" stroke-width="9" stroke-linecap="round" stroke-miterlimit="10" d="M525.182,74.792
	c-1.811,19.375-5.154,37.625-10.311,55.375"/>
<path class="LongWalks Seven" fill="none" stroke="#1BABB1" stroke-width="11" stroke-linecap="round" stroke-miterlimit="10" d="M542.621,107.917
	c-7.432,2.396-14.771,8.051-17.643,15.426c-2.674,6.869,0.392,15.12,7.017,18.412c10.998,5.465,26.026,2.336,31.076-9.402
	c1.858-4.319,2.804-8.991,3.841-13.557c0.867-3.818,1.098-8.668,4.559-11.184c9.854-7.164,11.721,16.135,14.311,20.934
	c2.502,4.639,7.846,9.504,7.721,15.189c-0.109,4.977-6.211,5.715-10.156,5.592c-5.051-0.156-13.102,0.09-17.094-3.797
	c-2.936-2.859,1.76-5.209,4.119-6.176c3.805-1.557,8.443-1.125,12.441-0.906c7.982,0.434,16.064-0.404,24.059-0.404"/>
</svg>




              
            
!

CSS

              
                #LongWalks { width: 100%; }

.LongWalks {
	&.One { stroke-dasharray: 470; animation: longwrite1 2.6s linear infinite; }
	&.Two { stroke-dasharray: 300;  animation: longwrite2 2.6s linear infinite; }
	&.Three { stroke-dasharray: 330; animation: longwrite3 2.6s linear infinite; }
	&.Four { stroke-dasharray: 220; animation: longwrite4 2.6s linear infinite; }
	&.Five { stroke-dasharray: 310; animation: longwrite5 2.6s linear infinite; }
	&.Six { stroke-dasharray: 60; animation: longwrite6 2.6s linear infinite; }
	&.Seven { stroke-dasharray: 240; animation: longwrite7 2.6s linear infinite; }
}


@keyframes longwrite1 {
	0% { opacity: 0; stroke-dasharray: 0 470; }
	0.1%{ opacity: 1; }
	20% { stroke-dasharray: 470 0; }
}
@keyframes longwrite2 {
	0%,23% { opacity: 0; stroke-dasharray: 0 300; }
	23.1% { opacity: 1; }
	38% {	stroke-dasharray: 300 0; }
}
@keyframes longwrite3 {
	0%,39% { opacity: 0; stroke-dasharray: 0 330; }
	39.1% { opacity: 1; }
	51% { stroke-dasharray: 330 0; }
}
@keyframes longwrite4 {
	0%,53% { opacity: 0; stroke-dasharray: 0 220; }
	53.1% { opacity: 1; }
	63% {	stroke-dasharray: 220 0; }
}
@keyframes longwrite5 {
	0%,65% { opacity: 0; stroke-dasharray: 0 310; }
	65.1% { opacity: 1; }
	78% {	stroke-dasharray: 310 0; }
}
@keyframes longwrite6 {
	0%,79% { opacity: 0; stroke-dasharray: 0 60; }
	79.1% { opacity: 1; }
	83% { stroke-dasharray: 60 0;	}
}
@keyframes longwrite7 {
	0%,84% { opacity: 0; stroke-dasharray: 0 240; }
	84.1% { opacity: 1; }
	100% { stroke-dasharray: 240 0; }
}
              
            
!

JS

              
                
              
            
!
999px

Console