ddd
dd
Страница: 1
Тема закрыта
Сообщений 1 страница 2 из 2
Поделиться22022-08-15 16:38:40
Код:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<div id="advent__wrapper">
<div class="advent__info">
<div class="andvent_scrolling">
<span class="advent__headline">
<a href="ссылка">ищу лучшие усы тедаса</a></span>
<div class="advent__text">
— Они восхитительны, — резюмирует Фенрис, беря руку мага в свою, — спасибо, adore. Мне правда очень нравится, я искренне благодарен тебе, — с этими словами эльф подносит руку Дориана к своим губам и, прикрывая глаза, осторожно целует, — думаю, теперь их просто необходимо опробовать в бою. Как насчет того, чтобы отправится домой и провести переговоры с парочкой-другой магистров, лорд Павус? — открывая глаза, Фенрис смотрит на Дориана. — Уверен, магистр Тилани уже присматривает кандидатов. А я, ты знаешь, прекрасный дипломат, — тевинтерский беглец опасно сощуривается и разве что впрямую не говорит, что повырывает глотки всем, кто причастен к смерти отца Дориана.
</div>
</div></div>
<div class="image_cover"></div>
<a href="ссылка" id="advent_image">
<div class="advent_image_cont">
<img src="https://i.imgur.com/pfctvlF.png">
</div></a>
<div class="advent__logo"><b>red lights</b> cross</div>
</div>
<style>
#advent__wrapper {
background: url(https://i.imgur.com/85Ft71V.png) repeat -280px -30px, url(https://i.imgur.com/85Ft71V.png) repeat 280px 50px, linear-gradient(to left bottom, #536586, #636688, #726788, #7f6886, #8b6983);
width: 500px;
height: 350px;
margin: auto;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
}
#advent__wrapper:-webkit-scrollbar {
width: 6px;
height:6px;
background-color: rgba(0, 0, 0,0.1);
border-radius: 10px !important;}
#advent__wrapper:-webkit-scrollbar-thumb {
background-color:#efefef !importantж
width:6px !important;
border-radius: 1px !important;
}
#advent__wrapper * {scrollbar-width: thin;
scrollbar-color: #efefef rgba(20, 18, 15,0.01);}
.advent__info {
margin-left: 25px;
padding: 15px 20px;
background: rgba(96,102,124,.1);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid rgba(117,125,152,.55);
color: #efefef;
text-shadow: 1px 1px 1px rgba(0,0,0,.2);
font: 400 13px/155% jost;
width: 200px;
}
.advent__headline {
display: block;
margin-bottom: 10px;
font-size: 16px;
text-align: left;
}
.advent__headline a {
color: #efefef !important;
text-shadow: 1px 1px 1px rgba(0,0,0,.2);
text-transform: uppercase;
text-decoration: underline;
}
.andvent_scrolling {
max-height: 270px;
overflow-y: auto;
text-align: justify;
padding-right: 10px;
}
.image_cover {
background: radial-gradient(ellipse farthest-side at 100% 0%, rgba(61,57,58,.35) 0%,rgba(55,53,54,.35) 100%);
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
height: 350px;
width: 300px;
position: absolute;
right: 0;
top: 0px;
clip-path: polygon(40px 0%, 100% 0, 100% 100%, 0% 100%);
-webkit-clip-path: polygon(40px 0%, 100% 0, 100% 100%, 0% 100%);
transition: right .3s cubic-bezier(.64,.51,.55,1) 0s !important;
}
#advent_image {
height: 350px;
width: 280px;
position: absolute;
right: 0;
top: 0px;
display: flex;
justify-content: flex-end;
transition: right .3s cubic-bezier(.64,.51,.55,1) 0s !important;
}
.advent_image_cont {
transition: all .5s cubic-bezier(.64,.51,.55,1) 0s !important;
}
.advent_image_cont img {
height: 350px;
width: 320px;
object-fit: cover;
filter: drop-shadow(20px 10px 20px rgb(37, 48, 69,.85));
}
.advent__logo {
position: absolute;
writing-mode: tb-rl;
transform:rotate(187deg);
font-size:40px;
height: 100%;
text-align: center;
text-transform: uppercase;
font: 100 40px jost;
color: #efefef;
right: 220px;
top: 0;
transition: right .3s cubic-bezier(.64,.51,.55,1.16) 0s !important;
}
.advent__logo b {
font-weight: 200;
}
#advent__wrapper:hover #advent_image{
right: -40px;
}
#advent__wrapper:hover .image_cover {
right: -80px;
}
#advent__wrapper:hover .advent__logo {
right: 200px;
}
#advent__wrapper:hover .advent_image_cont {
transform: translateX(20px)
}
</style>Тема закрыта
Страница: 1












