Skip to content

Instantly share code, notes, and snippets.

@michiel
Created November 14, 2013 15:05
Show Gist options
  • Save michiel/7468357 to your computer and use it in GitHub Desktop.
Save michiel/7468357 to your computer and use it in GitHub Desktop.
CSS3 pulsating rings
.outer-ring {
border: 3px solid #999;
-webkit-border-radius: 30px;
height: 22px;
width: 22px;
position: absolute;
left:20px;
top:214px;
-webkit-animation: pulsate 1s ease-out;
-webkit-animation-iteration-count: infinite;
opacity: 0.0
}
.inner-ring {
border: 3px solid #999;
-webkit-border-radius: 30px;
height: 12px;
width: 12px;
position: absolute;
left:25px;
top:219px;
-webkit-animation: pulsate 1s ease-out;
-webkit-animation-iteration-count: infinite;
opacity: 0.0
}
@-webkit-keyframes pulsate {
0% {-webkit-transform: scale(0.1, 0.1); opacity: 0.0;}
50% {opacity: 1.0;}
100% {-webkit-transform: scale(1.2, 1.2); opacity: 0.0;}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment