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

Quick-add: + add another resource

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.

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 version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 960 560" enable-background="new 0 0 960 560" xml:space="preserve">
<g id="down_53_" opacity="0.4">
	<polygon fill="#F8B334" points="442.8,282 508.1,346.9 547.2,334.5 560.8,321.7 569.1,339.6 595.9,314.9 604.4,309.6 612,282 	"/>
	<polygon fill="#F8B334" points="419.4,282 417.7,287.2 405.7,300.3 396,292.8 396,304.9 381.5,309.8 352.7,282 	"/>
	<polygon fill="#F17E0B" points="352.7,282 350,282 356.2,294 365.3,294 	"/>
	<polygon fill="#F17E0B" points="396,304.9 396,292.8 405.7,300.3 403.2,303.4 	"/>
	<polygon fill="#F17E0B" points="442.8,282 437.8,282 450,316.9 473.2,312.2 	"/>
	<polygon fill="#F17E0B" points="547.2,334.5 560.8,321.7 569.1,339.6 	"/>
</g>
<g id="up_53_">
	<polygon fill="#F8B334" points="442.8,278 508.1,213.5 547.2,226.1 560.8,239 569.1,221.1 595.9,245.8 604.4,250.8 612,278 	"/>
	<polygon fill="#F8B334" points="419.4,278 417.7,273.2 405.7,260.3 396,268 396,255.9 381.5,250.5 352.7,278 	"/>
	<polygon fill="#F17E0B" points="352.7,278 350,278 356.2,265 366.4,265 	"/>
	<polygon fill="#F17E0B" points="396,255.9 396,268 405.7,260.2 403.2,257.4 	"/>
	<polygon fill="#F17E0B" points="442.8,278 437.8,278 450,243.5 473.2,248 	"/>
	<polygon fill="#F17E0B" points="547.2,226 560.8,239 569.1,221.1 	"/>
</g>
</svg>
            
          
!
            
              // Circ
$easeInCirc     : cubic-bezier(0.600, 0.040, 0.980, 0.335);
$easeOutCirc    : cubic-bezier(0.075, 0.820, 0.165, 1.000);
$easeInOutCirc  : cubic-bezier(0.785, 0.135, 0.150, 0.860);

// Quad   
$easeInQuad     : cubic-bezier(0.550, 0.085, 0.680, 0.530);
$easeOutQuad    : cubic-bezier(0.250, 0.460, 0.450, 0.940);
$easeInOutQuad  : cubic-bezier(0.455, 0.030, 0.515, 0.955);

// Quart
$easeInQuart    : cubic-bezier(0.895, 0.030, 0.685, 0.220);
$easeOutQuart   : cubic-bezier(0.165, 0.840, 0.440, 1.000);
$easeInOutQuart : cubic-bezier(0.770, 0.000, 0.175, 1.000);


// Quint
$easeInQuint    : cubic-bezier(0.755, 0.050, 0.855, 0.060);
$easeOutQuint   : cubic-bezier(0.230, 1.000, 0.320, 1.000);
$easeInOutQuint : cubic-bezier(0.860, 0.000, 0.070, 1.000);


html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

.path {
  
}

$startDelay: 1s;

@keyframes dash {
  70%,80% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  } 
  85% {
    fill-opacity: 0;
    stroke-opacity: 1;
  }
  95% {
    stroke: #F8B334;
    stroke-dashoffset: -500;
    stroke-opacity: 0;
  }
  100% {
    fill-opacity: 1;
    stroke-dashoffset: -500;
  }     
}  
 
svg {
  background: #fff;
  display: block;
  
  * {
    stroke: #666;
    #stroke: #F8B334;
    stroke-width: 1;
    //fill: transparent;
    fill-opacity: 0;
    
    stroke-dasharray: 500;
    stroke-dashoffset: 500; 
  }
   
  #up_53_ * {
    animation: dash 4s linear forwards $startDelay;
  } 
  #down_53_ * {  
    animation: dash 4s linear forwards 0.7s+$startDelay;
  }  
  
  /* 
  height: 100%; 
  width: 100%;
  */
}
            
          
!
999px
Loading ..................

Console