Created
November 14, 2017 07:12
-
-
Save shreyas-n/8b57b24bc1129c2e980bdf90fd06010f to your computer and use it in GitHub Desktop.
just some css, nothing to see
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 { | |
margin: 0; | |
} | |
.container { | |
background: #111 url("https://ton.twitter.com/i/ton/data/dm/915418933938708484/915418929467494401/PCTIe4oU.jpg"); | |
background-size: 50vh; | |
background-repeat: no-repeat; | |
background-position: center 40%; | |
height: 100vh; | |
margin: 0; | |
} | |
.progress { | |
width: 400px; | |
max-width: 85vw; | |
height: 4px; | |
position: absolute; | |
bottom: 20vh; | |
left: 50%; | |
border-radius: 4px; | |
background: rgba(255,255,255,0.5); | |
transform: translate(-50%, -50%); | |
overflow: hidden; | |
} | |
.progress:after { | |
content: ''; | |
display: block; | |
width: 100%; | |
height: 4px; | |
background: #fff; | |
animation: load 7s linear; | |
} | |
@-moz-keyframes load { | |
0% { | |
width: 0; | |
} | |
10% { | |
width: 5%; | |
} | |
20% { | |
width: 15%; | |
} | |
30% { | |
width: 25%; | |
} | |
40% { | |
width: 30%; | |
} | |
50% { | |
width: 44%; | |
} | |
60% { | |
width: 50%; | |
} | |
70% { | |
width: 72%; | |
} | |
80% { | |
width: 84%; | |
} | |
90% { | |
width: 92%; | |
} | |
100% { | |
width: 100%; | |
} | |
} | |
@-webkit-keyframes load { | |
0% { | |
width: 0; | |
} | |
10% { | |
width: 5%; | |
} | |
20% { | |
width: 15%; | |
} | |
30% { | |
width: 25%; | |
} | |
40% { | |
width: 30%; | |
} | |
50% { | |
width: 44%; | |
} | |
60% { | |
width: 50%; | |
} | |
70% { | |
width: 72%; | |
} | |
80% { | |
width: 84%; | |
} | |
90% { | |
width: 92%; | |
} | |
100% { | |
width: 100%; | |
} | |
} | |
@-o-keyframes load { | |
0% { | |
width: 0; | |
} | |
10% { | |
width: 5%; | |
} | |
20% { | |
width: 15%; | |
} | |
30% { | |
width: 25%; | |
} | |
40% { | |
width: 30%; | |
} | |
50% { | |
width: 44%; | |
} | |
60% { | |
width: 50%; | |
} | |
70% { | |
width: 72%; | |
} | |
80% { | |
width: 84%; | |
} | |
90% { | |
width: 92%; | |
} | |
100% { | |
width: 100%; | |
} | |
} | |
@keyframes load { | |
0% { | |
width: 0; | |
} | |
10% { | |
width: 5%; | |
} | |
20% { | |
width: 15%; | |
} | |
30% { | |
width: 25%; | |
} | |
40% { | |
width: 30%; | |
} | |
50% { | |
width: 44%; | |
} | |
60% { | |
width: 50%; | |
} | |
70% { | |
width: 72%; | |
} | |
80% { | |
width: 84%; | |
} | |
90% { | |
width: 92%; | |
} | |
100% { | |
width: 100%; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment