Skip to content

Instantly share code, notes, and snippets.

@mlpassos
Created January 18, 2013 03:19
Show Gist options
  • Save mlpassos/4562090 to your computer and use it in GitHub Desktop.
Save mlpassos/4562090 to your computer and use it in GitHub Desktop.
Untitled
body{background-color:black;padding:5%;}
.engine{
width:200px;
background-color:red;
padding:2%;
border-radius:50%;
height:200px;
border:20px dashed black;
position:relative;
animation: anima 3s infinite linear;
}
@keyframes anima{
0%{}
50%{transform:rotate(360deg);}
100%{transform:scale(1.2);}
}
.engine:before{
content:"";
position:absolute;
width:200px;
height:200px;
background-image:radial-gradient(center center, yellow 00%, red 75%);
border-radius:50%;
top:7.5%;
left:6.5%;
}
<div class="engine"></div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment