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.

            
              <div class="svgwrap">
<svg class="p00" version="1.1" id="_x32_" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 512 512" xml:space="preserve">
<g class="car">
	<path class="p01" d="M303.922,76.984c0-15.688-12.703-28.422-28.406-28.422c-15.672,0-28.391,12.734-28.391,28.422v25.656h56.797
		V76.984z"></path>
	<path class="p02" d="M109.656,346.469c-32.25,0-58.484,26.234-58.484,58.484c0,32.234,26.234,58.484,58.484,58.484
		s58.469-26.25,58.469-58.484C168.125,372.703,141.906,346.469,109.656,346.469z M109.656,431.906
		c-14.875,0-26.953-12.078-26.953-26.953s12.078-26.938,26.953-26.938s26.938,12.063,26.938,26.938S124.531,431.906,109.656,431.906
		z"></path>
	<path class="p02" d="M395.5,346.469c-32.234,0-58.469,26.234-58.469,58.484c0,32.234,26.234,58.484,58.469,58.484
		c32.281,0,58.5-26.25,58.5-58.484C454,372.703,427.781,346.469,395.5,346.469z M395.5,431.906
		c-14.859,0-26.922-12.078-26.922-26.953s12.063-26.938,26.922-26.938c14.906,0,26.969,12.063,26.969,26.938
		S410.406,431.906,395.5,431.906z"></path>
	<path class="p02" d="M109.656,395.703c-5.109,0-9.234,4.141-9.234,9.25c0,5.094,4.125,9.234,9.234,9.234
		c5.094,0,9.234-4.141,9.234-9.234C118.891,399.844,114.75,395.703,109.656,395.703z"></path>
	<path class="p02" d="M395.5,395.703c-5.094,0-9.219,4.141-9.219,9.25c0,5.094,4.125,9.234,9.219,9.234
		c5.125,0,9.266-4.141,9.266-9.234C404.766,399.844,400.625,395.703,395.5,395.703z"></path>
	<path class="p02" d="M497.875,278.094l-71.234-114.281c-17.031-27.328-46.953-43.922-79.172-43.922H62.188
		C27.844,119.891,0,147.734,0,182.063v203.609c0,13.766,11.156,24.938,24.906,24.938h15.531c-0.156-1.875-0.25-3.75-0.25-5.656
		c0-38.297,31.156-69.469,69.469-69.469s69.469,31.172,69.469,69.469c0,1.906-0.109,3.781-0.25,5.656h91.469h55.969
		c-0.156-1.875-0.266-3.75-0.266-5.656c0-38.297,31.172-69.469,69.453-69.469c38.313,0,69.484,31.172,69.484,69.469
		c0,1.906-0.094,3.781-0.234,5.656h22.313c13.781,0,24.938-11.172,24.938-24.938v-58.234
		C512,309.984,507.094,292.891,497.875,278.094z M198.313,240.141h-39.938v41.141h-36.313v-41.141H79.703v-36.297h42.359v-41.156
		h36.313v41.156h39.938V240.141z M426.719,246.078c-2.188,3.953-6.344,6.406-10.875,6.406H296.438
		c-6.875,0-12.438-5.563-12.438-12.438v-74.813c0-6.875,5.563-12.438,12.438-12.438H336.5c24.813,0,47.438,12.547,60.563,33.594
		l29.344,47.078C428.781,237.313,428.922,242.141,426.719,246.078z"></path>
</g>
</svg>
</div>

            
          
!
            
              .svgwrap {
	position: relative;
	width: 100%;
}
.p00 {
	width: 150px;
	position: relative;
	height: auto;
	animation: RUN 4s ease-in 3s;
}
.p01,
.p02 {    
	stroke:#353535;
	fill: #353535;
	fill-opacity: 1;
	stroke-width:1;
	stroke-dasharray: 3000;
	stroke-dashoffset:3000;
	animation: LINE 4s ease-in 0s forwards;
}
.p01 {
	stroke:rgba(220, 114, 114, 1);
	fill: rgba(220, 114, 114, 1);
	fill-opacity: 1;
	stroke-width:1;
	stroke-dasharray: 3000;
	stroke-dashoffset:3000;
	animation: LINE 4s ease 0s forwards;
}
@keyframes RUN{
	0%{left: 0;opacity:1;}
	80%{left: 150%;opacity:1;}
}
@keyframes LINE{
	0%{stroke-dashoffset:3000;fill-opacity: 0;}
	40%{stroke-dashoffset:0;fill-opacity: 0;}
	60%{fill-opacity: 1;}
}



            
          
!
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