Skip to content

Instantly share code, notes, and snippets.

@ed-cooper
Created May 7, 2017 23:00
Show Gist options
  • Save ed-cooper/62f4231ab4385303a59884985efeb754 to your computer and use it in GitHub Desktop.
Save ed-cooper/62f4231ab4385303a59884985efeb754 to your computer and use it in GitHub Desktop.
Test isonline verify loader page :) Credit to https://projects.lukehaas.me/css-loaders/
<!DOCTYPE html>
<html>
<head>
<style>
body {
background: #f0f0f0;
margin: 0;
}
#vcenter {
position: absolute;
top: 50%;
width: 100%;
margin-top: -100px;
}
h1 {
text-align: center;
font-family: trebuchet ms, courier new, sans-serif;
font-size: 2em;
}
#loader,
#loader:before,
#loader:after {
border-radius: 50%;
width: 2.5em;
height: 2.5em;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation: load7 1.8s infinite ease-in-out;
animation: load7 1.8s infinite ease-in-out;
}
#loader {
color: #098e8b;
font-size: 10px;
margin: 80px auto;
position: relative;
text-indent: -9999em;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
#loader:before,
#loader:after {
content: '';
position: absolute;
top: 0;
}
#loader:before {
left: -3.5em;
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
#loader:after {
left: 3.5em;
}
@-webkit-keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
@keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
</style>
</head>
<body>
<div id='vcenter'>
<h1 id='header'>Validating isonline account</h1>
<div id='loader'></div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment