Skip to content

Instantly share code, notes, and snippets.

@solidpple
Created November 5, 2016 12:09
Show Gist options
  • Select an option

  • Save solidpple/85443192f3f3290ada9895e4b9e6528d to your computer and use it in GitHub Desktop.

Select an option

Save solidpple/85443192f3f3290ada9895e4b9e6528d to your computer and use it in GitHub Desktop.
.loader {
position: absolute;
left: 50%;
top: 50%;
z-index: 1;
width: 150px;
height: 150px;
margin: -75px 0 0 -75px;
border: 16px solid #f3f3f3;
border-radius: 50%;
border-top: 16px solid #3498db;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment