Skip to content

Instantly share code, notes, and snippets.

@bhargav2785
Created October 28, 2012 02:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhargav2785/3967250 to your computer and use it in GitHub Desktop.
Save bhargav2785/3967250 to your computer and use it in GitHub Desktop.
Untitled
.ani-box-shadow-4{
position:relative;
margin: 50px;
height: 200px;
width:200px;
background-color: steelblue;
background-image: -webkit-radial-gradient(100% 100%, circle cover, black, transparent);
-webkit-animation: myAnimation 1s infinite alternate;
}
@-webkit-keyframes myAnimation{
from { -webkit-radial-gradient(0% 0%, circle cover, black, transparent) }
to { -webkit-radial-gradient(100% 100%, circle cover, black, transparent) }
}
<div class="ani-box-shadow-4"></div>
{"view":"separate","fontsize":"60","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment