Created
November 20, 2018 15:37
-
-
Save djalmajr/b33ed64bad6b5ca81a8b2ba28cfaac72 to your computer and use it in GitHub Desktop.
App Loader
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="utf-8"> | |
<title>App Loader</title> | |
<style media="screen"> | |
html, | |
body { | |
background-color: #F2F2F4; | |
} | |
#start { | |
width: 100%; | |
height: 100%; | |
position: fixed; | |
-moz-user-select: none; | |
-webkit-user-select: none; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
display: -webkit-box; | |
display: -webkit-flex; | |
-webkit-align-items: center; | |
-webkit-justify-content: center; | |
flex-direction: column; | |
-webkit-flex-direction: column; | |
} | |
.spinner-container { | |
-webkit-animation: rotate 2s linear infinite; | |
animation: rotate 2s linear infinite; | |
z-index: 2; | |
} | |
.spinner-container .path { | |
stroke-dasharray: 1, 150; | |
stroke-dashoffset: 0; | |
stroke: rgba(169, 169, 169, 0.7); | |
stroke-linecap: round; | |
-webkit-animation: dash 1.5s ease-in-out infinite; | |
animation: dash 1.5s ease-in-out infinite; | |
} | |
#startup .spinner-container .path, | |
#initial_startup .spinner-container .path { | |
stroke: #acb9bf; | |
} | |
@keyframes rotate { | |
100% { | |
transform: rotate(360deg); | |
} | |
} | |
@-webkit-keyframes rotate { | |
100% { | |
-webkit-transform: rotate(360deg); | |
} | |
} | |
@keyframes dash { | |
0% { | |
stroke-dasharray: 1, 150; | |
stroke-dashoffset: 0; | |
} | |
50% { | |
stroke-dasharray: 90, 150; | |
stroke-dashoffset: -35; | |
} | |
100% { | |
stroke-dasharray: 90, 150; | |
stroke-dashoffset: -124; | |
} | |
} | |
@-webkit-keyframes dash { | |
0% { | |
stroke-dasharray: 1, 150; | |
stroke-dashoffset: 0; | |
} | |
50% { | |
stroke-dasharray: 90, 150; | |
stroke-dashoffset: -35; | |
} | |
100% { | |
stroke-dasharray: 90, 150; | |
stroke-dashoffset: -124; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div id="__wrapper__"> | |
<div id="start"> | |
<svg class="spinner-container" width="40" height="40" viewBox="0 0 44 44"> | |
<circle class="path" cx="22" cy="22" r="20" fill="none" stroke-width="3"></circle> | |
</svg> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment