cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <svg viewBox="0 0 189 189" style="background-color:#ffffff00" xmlns="http://www.w3.org/2000/svg" width="189" height="189">
  <g stroke="#fff" stroke-width="2" fill="none">
    <path d="M137.484 69.432c0 37.536-30.425 67.96-67.97 67.96-37.535 0-67.953-30.424-67.953-67.96C1.56 31.9 31.98 1.474 69.516 1.474c37.544 0 67.97 30.425 67.97 67.958z" />
    <path d="M118.228 68.774c0 26.78-21.702 48.488-48.496 48.488-26.772 0-48.48-21.71-48.48-48.488 0-26.776 21.708-48.48 48.48-48.48 26.794 0 48.496 21.704 48.496 48.48z" />
    <path d="M37 68.998C37 50.773 51.55 36 69.495 36" />
    <path d="M128.008 104.035l54.93 55.05c5.754 5.764 5.758 15.208.007 20.98l-2.886 2.894c-5.752 5.772-15.174 5.783-20.94.024l-55.128-55.078" />
  </g>
</svg>

<div id="log"></div>
            
          
!
            
              body {
  background: #00bcd4;
}

svg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#log {
  position: absolute;
  top: 0;
  left: 0;
  right: 440px;
  bottom: 0;
  margin: auto;
  color: #FFF;
  width: 200px;
  height: 40px;
  overflow: auto;
}

#log p {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
}
            
          
!
            
              var count = 0,
    $svg = $('svg').drawsvg({
      callback: function() {
        $('#log').html('<p>Animation complete! <strong>' + (count++) + '</strong></p>');
        animate();
      }
    });

function animate() {
  $svg.drawsvg('animate');  
}

animate();
            
          
!
999px
Loading ..................

Console