Created
April 7, 2018 18:50
-
-
Save rxluz/8e96ac1607ba53e6fa8d6503720b0b36 to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1.0, user-scalable=0, shrink-to-fit=no"> | |
<meta name="HandheldFriendly" content="true"> | |
<title>Your application title</title> | |
<style> | |
.content-loader { | |
position: fixed; | |
z-index: 9999; | |
top: 0px; | |
text-align: center; | |
line-height: 100vh; | |
left: 0px; | |
width: 100vw; | |
height: 100vh; | |
background: #403a3a; | |
/* padding: calc(50% - 110px); */ | |
} | |
.lds-ripple { | |
display: inline-block; | |
position: relative; | |
width: 64px; | |
height: 64px; | |
} | |
.lds-ripple div { | |
position: absolute; | |
border: 4px solid #fff; | |
opacity: 1; | |
border-radius: 50%; | |
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; | |
} | |
.lds-ripple div:nth-child(2) { | |
animation-delay: -0.5s; | |
} | |
@keyframes lds-ripple { | |
0% { | |
top: 28px; | |
left: 28px; | |
width: 0; | |
height: 0; | |
opacity: 1; | |
} | |
100% { | |
top: -1px; | |
left: -1px; | |
width: 58px; | |
height: 58px; | |
opacity: 0; | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<div id="app"> | |
<div class="content-loader"> | |
<div class="lds-ripple"> | |
<div></div> | |
<div></div> | |
</div> | |
</div> | |
</div> | |
<script type="text/javascript" src="app.js"></script> | |
<script src="app.js"></script> | |
</body> | |
</html> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment