Created
December 31, 2011 23:15
-
-
Save lgarron/1545615 to your computer and use it in GitHub Desktop.
Loading bar
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 | |
*/ | |
body { | |
background-color: #8DD; | |
background-image: repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(255,255,255,.5) 15px, rgba(255,255,255,.5) 30px); | |
animation: loading_scramble_frames 4s infinite linear; | |
background-size: 128px 128px; | |
} | |
@-webkit-keyframes loading_scramble_frames { | |
0% { background-position: 000px 0px;} | |
100% { background-position: 128px 0px;} | |
} | |
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
{"view":"split","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment