Благодарим за выбор нашего сервиса!
Тестовое сообщение
Сообщений 1 страница 6 из 6
Поделиться32020-06-11 10:35:54
[html] <style>.tuna {
animation: walk-cycle 1s steps(12) infinite;
background: url(http://stash.rachelnabors.com/img/codep … sprite.png) 0 0 no-repeat;
height: 200px;
width: 400px;
position: absolute;
bottom: 1px;
left: 50%;
margin-left: -200px;
transform: translateZ(0); /* offers a bit of a performance boost by pushing some of this processing to the GPU in Safari*/
}
@keyframes walk-cycle {
0% {background-position: 0 0; }
100% {background-position: 0 -2391px; }
}
.foreground, .midground, .background {
width: 100%;
height: 100%;
position: absolute;
top: 0; left: 0;
translate3d(0,0,0);
}
.foreground {
animation: parallax_fg linear 10s infinite both;
background: url(http://stash.rachelnabors.com/24ways201 … _grass.png) 0 100% repeat-x;
z-index: 3;
}
@keyframes parallax_fg {
0% { background-position: -3584px 100%;}
100% {background-position: 0 100%; }
}
.midground {
animation: parallax_mg linear 20s infinite;
background: url(http://stash.rachelnabors.com/24ways201 … _grass.png) 0 100% repeat-x;
z-index: 2;
}
@keyframes parallax_mg {
0% { background-position: -3000px 100%;}
100% {background-position: 0 100%; }
}
.background {
background-image:
url(http://stash.rachelnabors.com/24ways201 … ntain5.png),
url(http://stash.rachelnabors.com/24ways201 … ntain4.png),
url(http://stash.rachelnabors.com/24ways201 … ntain3.png),
url(http://stash.rachelnabors.com/24ways201 … ntain2.png),
url(http://stash.rachelnabors.com/24ways201 … ntain1.png);
background-repeat: repeat-x;
background-position: 0 100%;
z-index: 1;
animation: parallax_bg linear 40s infinite;
}
@keyframes parallax_bg {
100% { background-position-x: 2400px, 2000px, 1800px, 1600px, 1200px;}
}
body {
background: linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%),
#d2d2d2 url(http://stash.rachelnabors.com/24ways201 … clouds.png);
}</style>
<div class="foreground"></div>
<div class="midground">
<div class="tuna" ></div>
</div>
<div class="background"with "600" height "300" >
</div>[/html]
Поделиться42020-10-08 07:43:49
Привет всем.
Поделиться52020-11-16 05:40:08
Название: Шерлок
Автор: bloody_death
Корректность отображения: НЕТ
Мобильный стиль: НЕТ
Исходники или макет: СКРИНШОТ
Бонус рейтинга стиля: ~
У дизайна нет описания . Ибо не отображается ничего .
.
Поделиться62020-12-08 14:44:19
[html] <p class="codepen" data-height="265" data-theme-id="light" data-default-tab="css,result" data-user="johnnyfekete" data-slug-hash="eYdNvVL" style="height: 265px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;" data-pen-title="CSS Christmas Calendar">
<span>See the Pen <a href="https://codepen.io/johnnyfekete/pen/eYdNvVL">
CSS Christmas Calendar</a> by Johnny Fekete (<a href="https://codepen.io/johnnyfekete">@johnnyfekete</a>)
on <a href="https://codepen.io">CodePen</a>.</span>
</p>
<script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>[/html]