Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //main
- .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"); //Set gif img
- background-size: cover
- background-repeat: no-repeat;
- background-position: center center;
- background-color: #fff;
- height: 60px; //gif sixe
- width: 60px; // gif size
- margin-top: -30px;
- margin-left: -30px;
- left: 50%;
- top: 50%;
- position: absolute;
- }
- //js
- $(window).load(function() {
- $(".loader_inner").fadeOut();
- $(".loader").delay(400).fadeOut("slow");
- });
Add Comment
Please, Sign In to add comment