Created
January 6, 2012 01:52
-
-
Save lgarron/1568502 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: scrolling 4s infinite linear; | |
background-size: 128px 128px; | |
} | |
@keyframes scrolling { | |
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