Programm

<div class=”preloader”><img src=”images/preloader.gif” alt=””></div>

.preloader{
    position: absolute;
    width: 100%;
    height: 100vh;
    height: 100%;
    background-color: #fff;
    color: #fff;
    z-index: 9999;
}
.preloader>img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
 setTimeout(function () {
            $('.preloader').addClass('preloaded');
          }, 800);
          setTimeout(function () {
            $('.preloader').remove();
          }, 2000);

Leave a Reply

Your email address will not be published. Required fields are marked *