Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sass 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
- .loader_inner
- background-image: url("../img/pre.gif")
- background-size: cover
- background-repeat: no-repeat
- background-position: center center
- background-color: #fff
- height: 200px
- width: 200px
- left: 50%
- top: 50%
- transform: translate(-50%, -50%)
- position: absolute
- //End
- //Js
- $(document).ready(function() {
- $(".loader_inner").fadeOut();
- $(".loader").delay(400).fadeOut("slow");
- })
- //End
Add Comment
Please, Sign In to add comment