Пыльца сосны Россия
Инструкция
Все нюансы сборки, переработки, заготовки и применения.
-- Купить пыльцу высшего качества --

Осенний листопад


























HTML


<div id="leaf-fall">
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>
</div>

CSS


#leaf-fall {
position:relative;
top:-50px;
width:100%;
text-align: right;
}

#leaf-fall hr {
display: inline-block;
width: 100%;
height: 200px;
background: linear-gradient(to bottom right, #309900, #005600);
transform: skew(20deg);
border-radius: 5% 40% 70%;
box-shadow: inset 0px 0px 1px #222;
border: 1px solid #333;
z-index: 1;
-webkit-animation: falling 5s 0s infinite;
}

#leaf-fall hr:nth-of-type(2n) { -webkit-animation: falling2 5s 0s infinite; }
#leaf-fall hr:nth-of-type(3n) { -webkit-animation: falling3 5s 0s infinite; }
#leaf-fall hr:before {
position: absolute;
content: '';
top: 117px;
right: 9px;
height: 27px;
width: 32px;
transform: rotate(49deg);
border-radius: 0% 15% 15% 0%;
border-top: 1px solid #222;
border-bottom: 1px solid #222;
border-left: 0px solid #222;
border-right: 1px solid #222;
background: linear-gradient(to right, rgba(0,100,0,1), #FF4500);
z-index: 1;
}

#leaf-fall hr:after {
content: '';
height: 125px;
width: 10px;
background: linear-gradient(to right, rgba(255, 69, 0,.30), rgba(0,0,0,.10));
display: block;
transform: rotate(125deg);
position: absolute;
left: 85px;
border-radius:50%;
}

#leaf-fall hr:nth-of-type(n) { height:23px; width:30px; }
#leaf-fall hr:nth-of-type(n):before { width:7px; height:5px; top:17px; right:1px; }
#leaf-fall hr:nth-of-type(n):after { width:2px; height:17px; left: 12px; top:0px; }
#leaf-fall hr:nth-of-type(2n+1) { height:11px; width:16px; }
#leaf-fall hr:nth-of-type(2n+1):before { width:4px; height:3px; top:7px; right:0px; }
#leaf-fall hr:nth-of-type(2n+1):after { width:2px; height:6px; left: 5px; top:1px; }
#leaf-fall hr:nth-of-type(3n+2) { height:17px; width:23px; }
#leaf-fall hr:nth-of-type(3n+2):before { height:4px; width:4px; top:12px; right:1px; }
#leaf-fall hr:nth-of-type(3n+2):after { height:10px; width:2px; top:1px; left:8px; }
#leaf-fall hr:nth-of-type(n) { -webkit-animation-delay: 1.9s;}
#leaf-fall hr:nth-of-type(2n) { -webkit-animation-delay: 3.9s;}
#leaf-fall hr:nth-of-type(3n) { -webkit-animation-delay: 2.3s;}
#leaf-fall hr:nth-of-type(4n) { -webkit-animation-delay: 4.4s;}
#leaf-fall hr:nth-of-type(5n) { -webkit-animation-delay: 5s; }
#leaf-fall hr:nth-of-type(6n) { -webkit-animation-delay: 3.5s;}
#leaf-fall hr:nth-of-type(7n) { -webkit-animation-delay: 2.8s;}
#leaf-fall hr:nth-of-type(8n) { -webkit-animation-delay: 1.5s;}
#leaf-fall hr:nth-of-type(9n) { -webkit-animation-delay: 3.3s;}
#leaf-fall hr:nth-of-type(10n) { -webkit-animation-delay: 2.5s;}
#leaf-fall hr:nth-of-type(11n) { -webkit-animation-delay: 1.2s;}
#leaf-fall hr:nth-of-type(12n) { -webkit-animation-delay: 4.1s;}
#leaf-fall hr:nth-of-type(13n) { -webkit-animation-delay: 1s; }
#leaf-fall hr:nth-of-type(14n) { -webkit-animation-delay: 4.7s;}
#leaf-fall hr:nth-of-type(15n) { -webkit-animation-delay: 3s; }
#leaf-fall hr:nth-of-type(n) { background: linear-gradient(to bottom right, rgba(255,140,0,.95), rgba(0,100,0,.5)); }
#leaf-fall hr:nth-of-type(2n+2) { background: linear-gradient(to bottom right, rgba(255,140,0), rgba(0,100,0)); }
#leaf-fall hr:nth-of-type(4n+1) { background: linear-gradient(to bottom right, rgba(255,140,0), #564500); }
#leaf-fall hr:nth-of-type(n) { opacity: .7;}
#leaf-fall hr:nth-of-type(3n+1) { opacity: .5;}
#leaf-fall hr:nth-of-type(3n+2) { opacity: .3;}
#leaf-fall hr:nth-of-type(n) { transform: rotate(180deg);}
#leaf-fall hr:nth-of-type(n) { -webkit-animation-timing-function:ease-in-out;}

@-webkit-keyframes falling {
0% {
-webkit-transform:
translate3d(300,0,0) rotate(0deg);
}
90% {
-webkit-transform:
translate3d(-350px,700px,0) rotate(90deg);
opacity: 1;
}
100% {
-webkit-transform:
translate3d(-350px,700px,0) rotate(90deg);
opacity: 0;
}
}
@-webkit-keyframes falling3 {
0% {
-webkit-transform:
translate3d(0,0,0) rotate(-20deg);
}
70% {
-webkit-transform:
translate3d(-230px,640px,0) rotate(-70deg);
opacity: 0.4;
}
90% {
-webkit-transform:
translate3d(-230px,640px,0) rotate(-70deg);
opacity: 0.1;
}
100% {
-webkit-transform:
translate3d(-230px,640px,0) rotate(-70deg);
opacity: 0;
}
}
@-webkit-keyframes falling2 {
0% {
-webkit-transform:
translate3d(0,0,0) rotate(90deg);
}
90% {
-webkit-transform:
translate3d(-400px,680px,0) rotate(0deg);
opacity: 1;
}
100% {
-webkit-transform:
translate3d(-400px,680px,0) rotate(0deg);
opacity: 0;
}
}

Запись опубликована в рубрике Новости. Добавьте в закладки постоянную ссылку.
А так же:

Один ответ на “Осенний листопад

  1. Евгений говорит:

    Спасибо авторам. Все работает

Добавить комментарий

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