Skip to content

Instantly share code, notes, and snippets.

@lukecav
Forked from mattradford/gravity_spinner_css
Created August 8, 2016 17:15
Show Gist options
  • Save lukecav/8a3dbd6dfd3fc331c65105ae4c2386f8 to your computer and use it in GitHub Desktop.
Save lukecav/8a3dbd6dfd3fc331c65105ae4c2386f8 to your computer and use it in GitHub Desktop.
Gravity Forms replacement spinner
.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