css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <!--vivus scripts start-->
<script
			  src="https://code.jquery.com/jquery-3.2.1.min.js"
			  integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
			  crossorigin="anonymous"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/vivus/0.1.2/vivus.min.js"></script>
<!--vivus scripts end-->
<svg
   width="100%"
   viewBox="0 0 500 300"
   version="1.1"
   id="example2"
    enable-background="new 0 0 640 200" id="example2" onclick="hi2.reset().play();">
   inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"
   sodipodi:docname="vivus example.svg">
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(575.06096,175.14797)">
    <path
       inkscape:connector-curvature="0"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       d="m -158.03943,-53.567873 c 0.0705,-0.950733 0.11749,-1.878029 0.11749,-2.805294 0,-10.446528 -4.8946,-18.944622 -9.44883,-26.679757 l 17.17224,-20.705256 c 0.95074,-1.36158 2.12452,-2.20669 3.59172,-2.20669 5.1998,0 8.72109,29.872402 8.72109,43.382459 0,20.50573 -19.98926,26.53892 -44.34495,26.53892 -18.75681,0 -33.83973,-29.672854 -42.68993,-49.1222 l -15.28247,-34.438359 c -0.75121,-1.88975 -2.44144,-4.75375 -4.96503,-4.75375 -1.99542,0 -3.38044,1.2794 -4.31946,2.54708 l -16.2567,19.74277 23.62795,37.091067"
       id="path871"
       sodipodi:nodetypes="csccsscccsccc" />
    <path
       sodipodi:nodetypes="cccscsscsc"
       id="path821"
       d="m -143.54327,-31.853143 c -6.65526,14.965545 -19.3437,24.7664805 -38.6874,24.7664805 -27.50137,0 -41.5279,-22.6184965 -50.60112,-41.5279015 -10.75173,9.307991 -23.93315,12.571073 -39.75553,12.571073 -8.32201,0 -16.65577,-0.739492 -23.31105,-4.530767 -1.74891,-1.009418 -3.35695,-1.913246 -4.95328,-1.913246 -2.72314,0 -4.21384,2.640989 -4.21384,6.021441 0,0.962482 0,2.112798 0.31692,3.1809 4.53073,16.467968 18.66291,26.1985005 38.38222,26.1985005 11.1508,0 22.30157,-3.2865505 31.52741,-8.9675715"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       inkscape:connector-curvature="0" />
    <path
       sodipodi:nodetypes="ccccc"
       id="path819"
       d="m -176.13882,38.443814 12.9819,-12.887964 -15.82241,-15.8458742 -15.81066,15.8458742 5.37585,5.387568"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       inkscape:connector-curvature="0" />
    <path
       sodipodi:nodetypes="csccssccccssc"
       id="path825"
       d="m -354.19954,-53.567873 c 0.0706,-0.950733 0.11749,-1.878029 0.11749,-2.805294 0,-10.446528 -4.89458,-18.944622 -9.43707,-26.679757 l 17.17221,-20.705256 c 0.93901,-1.36158 2.1128,-2.20669 3.58001,-2.20669 5.19979,0 8.72108,29.872402 8.72108,43.382459 0,20.50573 -19.98926,26.53892 -44.30973,26.53892 h -19.1735 c -23.8451,0 -42.1911,-13.298817 -61.9104,-27.982628 -13.93263,-10.352655 -29.12117,-21.456493 -43.65242,-28.217395 10.7517,-12.242406 27.60702,-19.637156 48.27708,-19.637156 25.84637,0 51.86879,11.50295 51.86879,37.595796 0,6.760904 -2.31233,12.465424 -6.1036,17.536101"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       inkscape:connector-curvature="0" />
    <path
       inkscape:connector-curvature="0"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       d="m -454.59179,-88.123601 c 11.8081,0 32.78334,3.06356 32.78334,15.751973 0,2.417969 -1.57285,4.753757 -4.43683,7.077825"
       id="path823"
       sodipodi:nodetypes="csc" />
    <path
       inkscape:connector-curvature="0"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       d="m -339.70337,-31.853143 c -6.64354,14.965545 -19.33195,24.7664805 -38.65218,24.7664805 h -19.1735 c -23.96247,0 -38.61109,-10.3643445 -52.42635,-21.6560145 -21.94945,12.148501 -44.19237,30.7409858 -44.19237,58.735362 0,28.100001 26.57411,40.13113 55.89483,40.13113 8.96759,0 18.22863,-1.373302 27.3136,-4.636389 1.23243,-0.457788 2.72313,-0.950762 4.09644,-0.950762 2.44143,0 4.13166,2.007152 4.13166,4.436834 0,2.640993 -1.90149,4.53077 -3.81474,5.164585"
       id="path827"
       sodipodi:nodetypes="ccccsscssc" />
    <path
       sodipodi:nodetypes="ccsc"
       id="path829"
       d="m -513.0102,-75.235606 c 17.17221,9.519261 31.42175,21.350842 45.43654,34.238806 -21.60905,14.355171 -43.74632,40.02548011 -43.74632,76.799626 0,13.521806 4.42509,22.38376 10.95125,33.487593"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       inkscape:connector-curvature="0" />
    <path
       sodipodi:nodetypes="cccccccc"
       id="path817"
       d="m -382.83935,17.210342 -7.37125,-7.3947459 -15.8224,15.8458749 15.8224,15.845875 31.52739,-31.6917499 15.91631,15.8458749 -15.91631,15.845875 -7.27735,-7.394746"
       style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.00484586"
       inkscape:connector-curvature="0" />
  </g>
</svg>
<script>
		var hi2 = new Vivus('example2', {
			    type: 'delayed',
			    duration: 200,
			    start: 'autostart',
			    forceRender: false,
			    dashGap: 20
			  }, function() {
			    if (window.console) {
			      console.log('Animation finished. [log triggered from callback]');
			    }
			  })

</script>

            
          
!
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.
Loading ..................

Console