Last active
August 3, 2016 23:04
-
-
Save jimthoburn/0e345e91d2d9404bb2061c3a44a082dd to your computer and use it in GitHub Desktop.
Pulsing circle animation
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
<!doctype html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
<style> | |
@keyframes pulse { | |
100% { | |
box-shadow: 0 0 0.25em rgba(77, 85, 148, 1); | |
} | |
} | |
.pulse { | |
display: block; | |
width: 10px; | |
height: 10px; | |
background-color: rgb(77, 85, 148); | |
border-radius: 50%; | |
box-shadow: 0 0 0.25em rgba(77, 85, 148, 0); | |
animation-name: pulse; | |
animation-duration: 0.6s; | |
animation-direction: alternate-reverse; | |
animation-iteration-count: infinite; | |
animation-timing-function: linear; | |
animation-fill-mode: both; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="pulse"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment