-
-
Save chibaye/d7347ebf716e9513c8e4f776b50cd369 to your computer and use it in GitHub Desktop.
Pulsating SVG Path
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
.pulsate path { | |
stroke: #2980b9; | |
-webkit-animation: pulsate 5s ease-out; | |
-webkit-animation-iteration-count: infinite; | |
-moz-animation: pulsate 5s ease-out; | |
-moz-animation-iteration-count: infinite; | |
-ms-animation: pulsate 5s ease-out; | |
-ms-animation-iteration-count: infinite; | |
animation: pulsate 5s ease-out; | |
animation-iteration-count: infinite; | |
} | |
@-webkit-keyframes pulsate { | |
0% { opacity:0.4; stroke-width: 3; } | |
50% { opacity:1.0; stroke-width: 5; } | |
100% { opacity:0.4; stroke-width: 3; } | |
} | |
@-moz-keyframes pulsate { | |
0% { opacity:0.4; stroke-width: 3; } | |
50% { opacity:1.0; stroke-width: 5; } | |
100% { opacity:0.4; stroke-width: 3; } | |
} | |
@-ms-keyframes pulsate { | |
0% { opacity:0.4; stroke-width: 3; } | |
50% { opacity:1.0; stroke-width: 5; } | |
100% { opacity:0.4; stroke-width: 3; } | |
} | |
@keyframes pulsate { | |
0% { opacity:0.4; stroke-width: 3; } | |
50% { opacity:1.0; stroke-width: 5; } | |
100% { opacity:0.4; stroke-width: 3; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment