Preloader для сайта — стиль 11

Подробное описание и демонстрацией работы эффекта загрузки под номером №11 для бибилиотеки Bootstrap. Html и CSS код для реализации preloader’a сайта как на изображении.

Демонстрация эффекта загрузки страницы — стиль 11

html разметка для реализации эффекта загрузки тсраницы

<div class="container">
<div class="row">
<div class="col-md-12">
<div class="loader">
<div class="loader-inner"></div>
</div>
</div>
</div>
</div>

css разметка для реализации эффекта загрузки тсраницы

.loader{
height: 100px;
text-align: center;
}
.loader-inner{
margin: 10px auto;
position: relative;
left: -9px;
}
.loader-inner:before, .loader-inner:after{
position: absolute;
content: "";
}
.loader-inner:before{
width: 50px;
height: 50px;
border-radius: 100% 100% 100% 0;
box-shadow: 0px 0px 0px 2px rgba(255,255,255,1);
-webkit-animation: mapping 1s linear infinite;
-moz-animation: mapping 1s linear infinite;
animation: mapping 1s linear infinite;
-webkit-transform: rotate(-46deg);
-moz-transform: rotate(-46deg);
transform: rotate(-46deg);
}
.loader-inner:after{
width: 50px;
height: 10px;
border-radius: 100%;
left: 50%;
background-color: rgba(255, 255, 255, 0.2);
top: 65px;
z-index: 1;
}
@-webkit-keyframes mapping{
0% {top: 0;}
50%{top: -5px;}
100% {top:0; }
}
@-moz-keyframes mapping{
0% {top: 0;}
50%{top: -5px;}
100% {top:0; }
}
@-keyframes mapping{
0% {top: 0;}
50%{top: -5px;}
100% {top:0; }
}



Теги:
0

Оставить своё мнение

Ваш e-mail не будет опубликован. Обязательные поля помечены *