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 width="122" height="0px" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
  <!-- Created with SVG-edit - https://svg-edit.googlecode.com/ -->
  <defs>
    <g id="star_arm2">
      <title>Layer 1</title>
      <rect id="svg_1" height="178.000007" width="1.648148" y="24.392441" x="10.392456" stroke-width="5" />
      <circle id="svg_2" r="15" cy="12.892441" cx="10.89245" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="5" />
    </g>
  </defs>
</svg>


<div id ="box">
  <div style="width:50%;float:right;margin:0 0 20px 0;">actual display size</div>
<div class="starburst_box">
  <svg class="star pulse" width="100%" viewBox="-220 -130 560 610">
    <g id="top1">
      <use class="arm1" xlink:href="#star_arm2" />
      <use class="arm2" xlink:href="#star_arm2" />
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4B" xlink:href="#star_arm2" />
    </g>
    <g id="bottom1" class="bottom">
      <use class="arm1" xlink:href="#star_arm2" />
      <use class="arm2" xlink:href="#star_arm2" />
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4B" xlink:href="#star_arm2" />
    </g>
    <g id="top2">
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4" xlink:href="#star_arm2" />
    </g>
    <g id="bottom2" >
      <use class="arm3B" xlink:href="#star_arm2" />
      <use class="arm4" xlink:href="#star_arm2" />
    </g>
  </svg>
  
</div>


<div class="starburst_box2">
  
  <svg class="star pulse" width="100%" viewBox="-220 -130 560 610">
    <g id="top1">
      <use class="arm1" xlink:href="#star_arm2" />
      <use class="arm2" xlink:href="#star_arm2" />
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4B" xlink:href="#star_arm2" />
    </g>
    <g id="bottom1" class="bottom">
      <use class="arm1" xlink:href="#star_arm2" />
      <use class="arm2" xlink:href="#star_arm2" />
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4B" xlink:href="#star_arm2" />
    </g>
    <g id="top2">
      <use class="arm3" xlink:href="#star_arm2" />
      <use class="arm4" xlink:href="#star_arm2" />
    </g>
    <g id="bottom2" >
      <use class="arm3B" xlink:href="#star_arm2" />
      <use class="arm4" xlink:href="#star_arm2" />
    </g>
  </svg>
</div>
  
</div>
            
          
!
            
              @import url(https://fonts.googleapis.com/css?family=Poiret+One|PT+Sans+Narrow:400,700);

body{
  background-color:#000;
}

#box {
  width:100%;
  /* margin: 0 auto; */
  font-family: 'Poiret One', sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.5em;
  color: #BA8748;
}


.starburst_box {
  width: 200px;
  display: block;
  position: relative;
   /* border: 1px solid #ccc; */
  margin: 0px 70px;
  float:left;
}

.starburst_box2 {
  width: 80px;
  display: block;
  position: relative;
   /* border: 1px solid #ccc; */
  margin: 0px 70px;
  float:left;
}

.arm1,
.arm2,
.arm3,
.arm4,
.arm4B,
.arm3B {
  stroke: #D1964A;
  fill: #D1964A;
}

.arm1 {
  -webkit-transform: translate(-78px, 77px) rotate(-45deg) scale(0.6);

}

.pulse .arm1 {
  -webkit-animation: pulse1 1.5s infinite;
}

.arm2 {
  -webkit-transform: translate(5px, 35px) scale(0.6);
}

.pulse .arm2 {
  -webkit-animation: pulse2 1.5s infinite;
}

.arm3 {
  -webkit-transform: translate(93px, 67px) rotate(45deg) scale(0.6);
}

.pulse .arm3 {
  -webkit-animation: pulse3 1.5s infinite;
}

.arm3B {
  -webkit-transform: translate(91px, 67px) rotate(45deg) scale(0.6);
}

.pulse .arm3B {
  -webkit-animation: pulse3B 1.5s infinite;
}

.arm4 {
  -webkit-transform: translate(135px, 150px) rotate(90deg) scale(0.6);
}

.pulse .arm4 {
  -webkit-animation: pulse4 1.5s infinite;
}

.arm4B {
  -webkit-transform: translate(135px, 150px) rotate(90deg) scale(0.6);
}

.pulse .arm4B {
  -webkit-animation: pulse4short 1.5s infinite;
}

#bottom1 {
  -webkit-transform: translate(24px, 315px) rotate(180deg);
  /*-webkit-transform-origin: bottom center;*/
}

 .star.pulse {
  -webkit-animation: pulse5 1.5s infinite;
}

.pulse #top2 {
   -webkit-animation: pulsetop 1.5s infinite;

}

/*#bottom2.bottom {
   -webkit-transform-origin: bottom center;
   -webkit-transform: translate(24px, 315px) rotate(180deg);

}*/

#bottom2 {
  -webkit-transform: translate(24px, 315px) rotate(180deg);

}

.pulse #bottom2 {
   -webkit-animation: pulsebottom 1.5s infinite;
}

@-webkit-keyframes pulse1 {
  19% {
     -webkit-transform: translate(-78px, 77px) rotate(-45deg) scale(0.6);
   /* -webkit-transform: translate(-65px, 58px) rotate(-35deg) scale(0.6);*/
    /*stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
    -webkit-transform: translate(-115px, -5px) rotate(-35deg) ;
    /*stroke: #000;
    fill: #000;*/
  }
/*  50% {
    -webkit-transform: translate(-115px, -5px) rotate(-35deg) ;
    stroke: #BA8748;
    fill: #BA8748;
  }*/
}

@-webkit-keyframes pulse2 {
  19% {
    -webkit-transform: translate(5px, 35px) scale(0.6);
   /* stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
    -webkit-transform: translate(.25px, -45px);
   /* stroke: #000;
    fill: #000;*/
  }
  /*50% {
    -webkit-transform: translate(.25px, -45px);
    stroke: #BA8748;
    fill: #BA8748;
  }*/
}

@-webkit-keyframes pulse3 {
  19% {
    -webkit-transform: translate(93px, 67px) rotate(45deg) scale(0.6);
   /* stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
     -webkit-transform: translate(172px, -18px) rotate(45deg) scaley(1.2);
   /* stroke: #000;
    fill: #000;*/
  }
  /*50% {
     -webkit-transform: translate(172px, -18px) rotate(45deg) scaley(1.2);
    stroke: #BA8748;
    fill: #BA8748;
  }*/
}

@-webkit-keyframes pulse3B {

  19% {
    -webkit-transform: translate(0px, -45px) rotate(45deg) scale(0.6);
    -webkit-transform-origin: center bottom;
    /*stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
     -webkit-transform: translate(8px, -52px) rotate(60deg) scaley(1.7);
    -webkit-transform-origin: center bottom;
    /*stroke: #000;
    fill: #000;*/
  }
  /*50% {
     -webkit-transform: translate(8px, -52px) rotate(60deg) scaley(1.7);
    -webkit-transform-origin: center bottom;
    stroke: #BA8748;
    fill:#BA8748;
  }*/
  100% {
    -webkit-transform: translate(0px, -45px) rotate(45deg) scale(0.6);
    -webkit-transform-origin: center bottom;
    /*stroke: #ccc;
    fill: #ccc;*/
  }
}


@-webkit-keyframes pulse4 {
  19% {
    -webkit-transform: translate(135px, 150px) rotate(90deg) scale(0.6);
    /*stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
     -webkit-transform: translate(215px, 146px) rotate(90deg);
    /*stroke: #000;
    fill: #000;*/
  }
  /*50% {
     -webkit-transform: translate(215px, 146px) rotate(90deg);
    stroke: #BA8748;
    fill: #BA8748;
  }*/

}

@-webkit-keyframes pulse4short {
  19% {
    -webkit-transform: translate(135px, 150px) rotate(90deg) scaley(0.6);
    /*stroke: #ccc;
    fill: #ccc;*/
  }
  25% {
     -webkit-transform: translate(160px, 146px) rotate(90deg) scaley(0.7);
    /*stroke: #000;
    fill: #000;*/
  }
  /*50% {
     -webkit-transform: translate(160px, 146px) rotate(90deg) scaley(0.7);
    stroke: #BA8748;
    fill: #BA8748;
  }*/
}

@-webkit-keyframes pulsetop {

  18% {
    -webkit-transform: translate(0px, 0px);
  }
  19% {
   -webkit-transform: translate(3px, 3px) skew(0deg,-35deg);
  }
  /*50% {
    -webkit-transform: translate(3px, 3px) skew(0deg,-35deg);
  }*/

}

@-webkit-keyframes pulsebottom {

  18% {
   -webkit-transform: translate(24px, 315px) rotate(180deg);

  }
  19% {
   -webkit-transform:  translate(100px, 290px) rotate(150deg);

  }
  /*50% {
    -webkit-transform:  translate(100px, 290px) rotate(150deg);

  }*/



}

@-webkit-keyframes pulse5 {
  0% {
    -webkit-transform: scale(1);
  }
  5% {
    -webkit-transform: scale(1);
  }
  10% {
    -webkit-transform: translate(-2px, 0px) scale(.7) ;

  }
  18% {
    -webkit-transform: translate(-2px, 0px) scale(.7);
  }
  19% {
    -webkit-transform: scale(1) skew(0deg,35deg);
  }
  /*50% {
     -webkit-transform: scale(1) skew(0deg,35deg);
  }*/
}

            
          
!
999px
Loading ..................

Console