Created
October 25, 2013 02:19
-
-
Save akanieski/7148526 to your computer and use it in GitHub Desktop.
CSS3 Pulse Effect
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
.pulse { | |
-webkit-animation: pulse 1s linear infinite; | |
-moz-animation: pulse 1s linear infinite; | |
-ms-animation-name: pulse 1s linear infinite; | |
-o-animation-name: pulse 1s linear infinite; | |
animation-name: pulse 1s linear infinite; | |
} | |
@-webkit-keyframes pulse { | |
0% { | |
-webkit-transform: scale(1); | |
} | |
50% { | |
-webkit-transform: scale(1.1); | |
} | |
100% { | |
-webkit-transform: scale(1); | |
} | |
} | |
@-moz-keyframes pulse { | |
0% { | |
-moz-transform: scale(1); | |
} | |
50% { | |
-moz-transform: scale(1.1); | |
} | |
100% { | |
-moz-transform: scale(1); | |
} | |
} | |
@-ms-keyframes pulse { | |
0% { | |
-ms-transform: scale(1); | |
} | |
50% { | |
-ms-transform: scale(1.1); | |
} | |
100% { | |
-ms-transform: scale(1); | |
} | |
} | |
@-o-keyframes pulse { | |
0% { | |
-o-transform: scale(1); | |
} | |
50% { | |
-o-transform: scale(1.1); | |
} | |
100% { | |
-o-transform: scale(1); | |
} | |
} | |
@keyframes pulse { | |
0% { | |
transform: scale(1); | |
} | |
50% { | |
transform: scale(1.1); | |
} | |
100% { | |
transform: scale(1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment