Created
June 17, 2016 13:54
-
-
Save mattradford/76a882097063857769eb7f14f3c3c5bd to your computer and use it in GitHub Desktop.
Gravity Forms replacement spinner
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
.gform_ajax_spinner { | |
margin-left: 20px; /* give it some space from the Submit button */ | |
border: 4px solid rgba(255, 255, 255, 0.3); /* match with border-left */ | |
border-left: 4px solid gold; | |
animation: spinner 1.1s infinite linear; | |
border-radius: 50%; | |
width: 30px; /* match with height for a circle */ | |
height: 30px; | |
} | |
@keyframes spinner { | |
0% { | |
transform: rotate(0deg); | |
} | |
100% { | |
transform: rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful - thanks. :)