Created
July 12, 2016 10:55
-
-
Save gustaff-weldon/08af8bac9b6e0d8e014a86fbcd0e0552 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
font-family: Arial | |
} | |
.box { | |
padding: 20px; | |
color: white; | |
} | |
@keyframes background-position{ | |
from{ background-position: 0 0;} | |
to { background-position: 50px 0 } | |
} | |
.animate-bg { | |
background-color: #20957f; | |
background-image: linear-gradient(135deg, rgba(255,255,255, 0.2) 25%, rgba(255,255,255, 0.5) 25%, rgba(255,255,255, 0.5) 50%, rgba(255,255,255, 0.2) 50%, rgba(255,255,255, 0.2) 75%, rgba(255,255,255, 0.5) 75%, rgba(255,255,255, 0.5)); | |
background-size: 50px 50px; | |
animation: background-position 1s linear infinite; | |
background-position: 0 0; | |
} |
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
<div class="box animate-bg" href="#background-position" title="background-position from 0 0 to 100% 100%">Please wait while downloading</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment