Created
October 27, 2012 21:56
-
-
Save bhargav2785/3966516 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ani-box-shadow-3{ | |
position:relative; | |
margin: 50px; | |
height: 200px; | |
width:200px; | |
background-color: steelblue; | |
-webkit-animation: myAnimation 1s infinite alternate; | |
} | |
@-webkit-keyframes myAnimation{ | |
from { box-shadow: none } | |
to { box-shadow: inset -120px -120px 500px 0px rgba(0,0,0,0.8) } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="ani-box-shadow-3"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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