Created
April 2, 2019 05:41
-
-
Save hopearmstrong/87ed542f4f408c35e3a7c6923cfe1baf to your computer and use it in GitHub Desktop.
Loading bars Sass
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
#loading-bar | |
&-left | |
animation: loading-bar-morph 1s linear .1s infinite | |
transform-origin: center | |
&-middle | |
animation: loading-bar-morph 1s linear .2s infinite | |
transform-origin: center | |
&-right | |
animation: loading-bar-morph 1s linear .4s infinite | |
transform-origin: center | |
@keyframes loading-bar-morph | |
0% | |
transform: scaleY(1) | |
25% | |
transform: scaleY(0.3) | |
50% | |
transform: scaleY(0.7) | |
75% | |
transform: scaleY(0.15) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment