Created
January 16, 2017 19:05
-
-
Save mikedijkstra/dced2b8da7a23cd9780c9fb8f5fb644d to your computer and use it in GitHub Desktop.
Loader Module
This file contains hidden or 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
@mixin loader { | |
body.preload { | |
* { | |
transition: none !important; | |
animation-name: none !important; | |
} | |
.loader { | |
visibility: visible; | |
} | |
} | |
.loader { | |
background-color: black; | |
transition: visibility 1s 0s; | |
visibility: hidden; | |
z-index: 99999999; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment