Created
November 11, 2014 23:53
-
-
Save drifterz28/2482831b0fe9f831dcbf to your computer and use it in GitHub Desktop.
firework svg with animated css
This file contains hidden or 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
@-webkit-keyframes pulse { | |
0% { | |
stroke: #FFF5A5; | |
fill: #45CEEF; | |
} | |
25% { | |
stroke: #FFD4DA; | |
fill: #FFF5A5; | |
} | |
50% { | |
stroke: #99D2E4; | |
fill: #FFD4DA; | |
} | |
75% { | |
stroke: #D8CAB4; | |
fill: #99D2E4; } | |
100% { | |
stroke: #45CEEF; | |
fill: #D8CAB4; | |
} | |
} | |
@keyframes pulse { | |
0% { | |
stroke: #FFF5A5; | |
fill: #45CEEF; | |
} | |
25% { | |
stroke: #FFD4DA; | |
fill: #FFF5A5; | |
} | |
50% { | |
stroke: #99D2E4; | |
fill: #FFD4DA; | |
} | |
75% { | |
stroke: #D8CAB4; | |
fill: #99D2E4; } | |
100% { | |
stroke: #45CEEF; | |
fill: #D8CAB4; | |
} | |
} | |
.spark_1, | |
.spark_2, | |
.spark_3 { | |
fill: #45CEEF; | |
stroke: #FFF5A5; | |
-webkit-animation-duration: 3s; | |
-webkit-animation-name: pulse; | |
-webkit-animation-iteration-count: infinite; | |
animation-duration: 3s; | |
animation-name: pulse; | |
animation-iteration-count: infinite; | |
} | |
.spark_1 { | |
-webkit-animation-delay: 0.11s; | |
animation-delay: 0.11s; | |
} | |
.spark_2 { | |
-webkit-animation-delay: 0.21s; | |
animation-delay: 0.21s; | |
} | |
.spark_3 { | |
-webkit-animation-delay: 0.31s; | |
animation-delay: 0.31s; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment