Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generic anim-rotate-360 class for use by view_components/spinner. #1251

Merged
merged 3 commits into from
Mar 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/utilities/animations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,17 @@
transform: scale(1.025);
}
}

/* Rotate an element 360 degrees over and over, used for spinners */
.anim-rotate-360 {
animation: rotate-360-keyframes 1s linear infinite;
}

@keyframes rotate-360-keyframes {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
theojulienne marked this conversation as resolved.
Show resolved Hide resolved
}
}