Last active
August 29, 2015 14:01
-
-
Save rodrigomuniz/63ff20759ed1dbd7b492 to your computer and use it in GitHub Desktop.
Jumpy white arrow pointing down
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
.arrow-down { | |
display: block; | |
margin: 25px auto 0; | |
width: 0; | |
height: 0; | |
position: relative; | |
border-left: 10px solid transparent; | |
border-right: 10px solid transparent; | |
border-top: 15px solid #fff; | |
-webkit-animation: arrowDown 2s infinite; | |
-moz-animation: arrowDown 2s infinite; | |
animation: arrowDown 2s infinite; | |
} | |
@keyframes arrowDown { | |
0% { | |
top: 0; | |
} | |
25% { | |
top: 10px; | |
} | |
50% { | |
top: 0px; | |
} | |
} | |
@-webkit-keyframes arrowDown { | |
0% { | |
top: 0; | |
} | |
25% { | |
top: 10px; | |
} | |
50% { | |
top: 0px; | |
} | |
} | |
@-moz-keyframes arrowDown { | |
0% { | |
top: 0; | |
} | |
25% { | |
top: 10px; | |
} | |
50% { | |
top: 0px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment