Throbbing Things in CSS
.throb {
border: 3px solid #555;
height: 50px;
width: 50px;
-webkit-border-radius: 50%;
-webkit-animation: pulsate 2s ease-out;
-webkit-animation-iteration-count: infinite;
opacity: 0;
z-index: 999;
}
@-webkit-keyframes pulsate {
0% {
-webkit-transform: scale(1.0, 1.0); opacity: 1.0;
}
50% {
-webkit-transform: scale(0.75, 0.75); opacity: 0.5;
}
100% {
-webkit-transform: scale(1.0, 1.0); opacity: 1.0;
}
}
Written by Darryl Wright
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#