Created
May 1, 2019 19:29
-
-
Save DmitriBarannyk/19f90e2d7a5bba298a6aff1dd3a2f985 to your computer and use it in GitHub Desktop.
preloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
$(".loaderInner").fadeOut(); // прокрутка анимации при загрузке стрницы | |
$(".loader").delay(400).fadeOut("slow"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.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/preloader_2.gif')
background-repeat: no-repeat
background-position: center center
background-color: #fff
height: 200px
width: 200px
margin-top: -30px
margin-left: -30px
left: 50%
top: 50%
position: absolute