Skip to content

Instantly share code, notes, and snippets.

@designviacode
Last active August 29, 2015 14:14
Show Gist options
  • Save designviacode/fc0a397065da53c26625 to your computer and use it in GitHub Desktop.
Save designviacode/fc0a397065da53c26625 to your computer and use it in GitHub Desktop.
A commonly used css-keyframe animation of a pulsating ring.
@-webkit-keyframes pulsate-outer-ring {
0%, 80%, 100% {
transform: none;
-moz-transform: none;
-webkit-transform: none;
opacity: 0;
}
25%,30% {
opacity: 1;
}
35%,40% {
transform: scale(1.1, 1.1);
-webkit-transform: scale(1.1, 1.1);
opacity: 1;
}
50% {
transform: scale(1.8, 1.8);
-webkit-transform: scale(1.8, 1.8);
opacity: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment