Skip to content

Instantly share code, notes, and snippets.

Created April 25, 2017 17:51
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Jquery preloader
#loader {
background: none repeat scroll 0 0 #ffffff;
bottom: 0;
height: 100%;
left: 0;
position: fixed;
right: 0;
top: 0;
width: 100%;
z-index: 9999;
#loaderInner {
background-image: url("../img/load.gif");
background-size: cover;
background-repeat: no-repeat;
// background-position: center center;
background-color: #fff;
height: 60px;
width: 60px;
margin-top: -30px;
margin-left: -30px;
left: 50%;
top: 50%;
position: absolute;
$(window).load(function() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment