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.

            
              	<div class="wrapper-star star3">
		<svg class="segment segment1" width="300px" height="300px">
			<polyline points="250,25 0,150 250,275"/>
			<polyline points="50,25 300,150 50,275"/>
			<polyline points="37,225 150,0 263,225"/>
			<polyline points="37,75 150,300 263,75"/>
		</svg>	
		<svg class="segment segment2" width="300px" height="300px">
			<polyline points="250,25 0,150 250,275"/>
			<polyline points="50,25 300,150 50,275"/>
			<polyline points="37,225 150,0 263,225"/>
			<polyline points="37,75 150,300 263,75"/>
		</svg>	
		<svg class="segment segment3" width="300px" height="300px">
			<polyline points="250,25 0,150 250,275"/>
			<polyline points="50,25 300,150 50,275"/>
			<polyline points="37,225 150,0 263,225"/>
			<polyline points="37,75 150,300 263,75"/>
		</svg>	
		<svg class="segment segment4" width="300px" height="300px">
			<polyline points="250,25 0,150 250,275"/>
			<polyline points="50,25 300,150 50,275"/>
			<polyline points="37,225 150,0 263,225"/>
			<polyline points="37,75 150,300 263,75"/>
		</svg>	
	</div>
            
          
!
            
              html { height:100%; margin:0;}
body { background: black; 
	background: -webkit-linear-gradient(45deg, #000000 10%, #006666 100%);
	background: -moz-linear-gradient(45deg, #000000 10%, #006666 100%);
	background: -ms-linear-gradient(45deg, #000000 10%, #006666 100%);
	background: -o-linear-gradient(45deg, #000000 10%, #006666 100%);
	background: linear-gradient(45deg, #000000 10%, #006666 100%); 
}
.wrapper-star {
	
  position: absolute;
  width: 302px;
  height: 302px;
  right: 0;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow:hidden;
}
.segment {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
polyline {
    fill: none;
    stroke:rgba(0,255,255,1.0);
    stroke-width: 1;
}
.star3 .segment2 polyline{
    stroke:rgba(0,255,255,0.6);
}
.star3 .segment3 polyline{
    stroke:rgba(0,255,255,0.4);
}
.star3 .segment4 polyline{
    stroke:rgba(0,255,255,0.2);
}

/* Star3 animation */
.star3 .segment1 {
    -webkit-animation: TURN1 3.5s ease-in-out 0s infinite;
    -moz-animation: TURN1 3.5s ease-in-out 0s infinite;
    -o-animation: TURN1 3.5s ease-in-out 0s infinite;
    animation: TURN1 3.5s ease-in-out 0s infinite;
}
.star3 .segment2 {
    -webkit-animation: TURN1 3.5s ease-in-out 0.10s infinite;
    -moz-animation: TURN1 3.5s ease-in-out 0.10s infinite;
    -o-animation: TURN1 3.5s ease-in-out 0.10s infinite;
    animation: TURN1 3.5s ease-in-out 0.10s infinite;
}
.star3 .segment3 {
    -webkit-animation: TURN1 3.5s ease-in-out 0.20s infinite;
    -moz-animation: TURN1 3.5s ease-in-out 0.20s infinite;
    -o-animation: TURN1 3.5s ease-in-out 0.20s infinite;
    animation: TURN1 3.5s ease-in-out 0.20s infinite;
}
.star3 .segment4 {
    -webkit-animation: TURN1 3.5s ease-in-out 0.30s infinite;
    -moz-animation: TURN1 3.5s ease-in-out 0.30s infinite;
    -o-animation: TURN1 3.5s ease-in-out 0.30s infinite;
    animation: TURN1 3.5s ease-in-out 0.30s infinite;
}
@-webkit-keyframes TURN1 {
    0% { transform: rotateZ(0deg); }
    75% { transform: rotateZ(180deg); }
    100% { transform: rotateZ(180deg); }
}
@-moz-keyframes TURN1 {
    0% { transform: rotateZ(0deg); }
    75% { transform: rotateZ(180deg); }
    100% { transform: rotateZ(180deg); }
}
            
          
!
999px
Loading ..................

Console