eee
sd
Страница: 1
Сообщений 1 страница 5 из 5
Поделиться22021-12-07 16:38:41
Код:
<!--HTML-->
<div class="scrolling-container" data-fs-scroll>
<div class="scrolling-name">
ashton lynx
</div>
<div class="scrolling-underbg">
<div class="scrolling-bg">
<img src="https://i.ibb.co/XVj1GZB/486101eac1ecc48c16dfdf5f1d4eeb6b2.png">
</div>
<div class="scrolling-controls">
<div class="scrolling-right-text">
Так что поначалу Кристиан даже не знал, в какой город он въехал. Он знал только одно: он где-то в Северной Каролине, денег почти не осталось, бензин тоже уже на исходе, и весь день было душно и жарко, и солнце все время грозило выглянуть из-за облаков.
</div>
</div>
</div>
<div class="scrolling-sections">
<div class="scrolling-section section1">
</div>
<div class="scrolling-section section2">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
<div class="scrolling-section section3">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
<div class="scrolling-section section4">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
</div>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
[data-fs-scroll] {
position: relative;
}
[data-fs-scroll] ul {
padding: 0;
}
[data-fs-scroll] .scrolling-page {
position: absolute;
list-style: none;
z-index: 999;
width: 300px;
right: 170px
}
[data-fs-scroll] .scrolling-page.vertical {
top: 240px;
display: flex;
flex-direction: column;
align-items: flex-end
}
[data-fs-scroll] .scrolling-page li {
width: 120px;
height: 10px;
background: #ffffff;
margin: 10px 0px;
cursor: pointer;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
}
[data-fs-scroll] .scrolling-page li.activepage {
background: #72b6ce;
}
[data-fs-scroll] .scrolling-page.horizontal li {
display: inline-block;
}
[data-fs-scroll] .scrolling-page.vertical .activepage {
width: 150px;
}
.scrolling-container {
overflow: hidden;
margin: auto;
height: 400px;
-webkit-text-size-adjust: 100%
}
.scrolling-container {
position: relative;
width: 600px;
height: 400px;
z-index: 1;
}
.scrolling-sections {
position: relative;
width: 280px;
height: 400px;
float: left
}
.scrolling-section {
position: relative;
width: 280px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.section2 {
background: rgba(0,0,0,.1);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.scrolling-inner p {
font: 500 11px/150% raleway !important;
text-align: justify
}
.section3{
background: rgba(0,0,0,.25);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.section4 {
background: rgba(0,0,0,.4);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.scrolling-inner {
border: 3px solid #d1d1d1;
width: 85%;
height: 85%;
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
box-sizing: border-box;
padding: 15px
}
.scrolling-underbg {
position: absolute;
background: #0e0e0e;
width: 600px;
height: 400px;
z-index: -1;
display: flex;
}
.scrolling-controls {
box-sizing: border-box;
float: right
}
.scrolling-bg {
width: 420px;
}
.scrolling-bg img {
width: 280px
}
.scrolling-name {
position: absolute;
color: #ffffff;
font: normal 30px/100% cinzel;
right: 0px;
top: 175px;
text-transform: uppercase;
z-index: 2;
width: 320px;
background: rgba(0,0,0,.3);
padding: 10px 0;
padding-left: 25px;
box-sizing: border-box;
}
.scrolling-name span {
color: #4e0000
}
.scrolling-right-text {
color: #72b6ce;
text-align: justify;
margin: 20px 25px;
font: 500 12px/150% raleway
}
</style>
<script type="text/javascript" src="https://forumstatic.ru/files/001b/6e/96/33188.js"></script>Код:
<div class="scrolling-container" data-fs-scroll>
<div class="scrolling-name">
ashton lynx
</div>
<div class="scrolling-underbg">
<div class="scrolling-bg">
<img src="https://i.ibb.co/XVj1GZB/486101eac1ecc48c16dfdf5f1d4eeb6b2.png">
</div>
<div class="scrolling-controls">
<div class="scrolling-right-text">
Так что поначалу Кристиан даже не знал, в какой город он въехал. Он знал только одно: он где-то в Северной Каролине, денег почти не осталось, бензин тоже уже на исходе, и весь день было душно и жарко, и солнце все время грозило выглянуть из-за облаков.
</div>
</div>
</div>
<div class="scrolling-sections">
<div class="scrolling-section section1">
</div>
<div class="scrolling-section section2">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
<div class="scrolling-section section3">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
<div class="scrolling-section section4">
<div class="scrolling-inner">
<p>Он ехал по шоссе № 42 и свернул с него налево; стало быть, он въехал в город со стороны Скрипичной улицы – мимо вросших в землю трейлеров и покосившихся лачуг, мимо маленьких кладбищ, заросших сорной травой, мимо куч искореженного железа. Он не почувствовал ничего: ни ужаса, ни волнения. По большому счету, ему было все равно, где жить. Я мог бы доехать до Сан-Франциско, – подумал он, – и глядя на мост «Золотые Ворота» и на огни Китайского квартала, я чувствовал бы то же самое. </p>
</div>
</div>
</div>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
[data-fs-scroll] {
position: relative;
}
[data-fs-scroll] ul {
padding: 0;
}
[data-fs-scroll] .scrolling-page {
position: absolute;
list-style: none;
z-index: 999;
width: 300px;
right: 170px
}
[data-fs-scroll] .scrolling-page.vertical {
top: 240px;
display: flex;
flex-direction: column;
align-items: flex-end
}
[data-fs-scroll] .scrolling-page li {
width: 120px;
height: 10px;
background: #ffffff;
margin: 10px 0px;
cursor: pointer;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
}
[data-fs-scroll] .scrolling-page li.activepage {
background: #72b6ce;
}
[data-fs-scroll] .scrolling-page.horizontal li {
display: inline-block;
}
[data-fs-scroll] .scrolling-page.vertical .activepage {
width: 150px;
}
.scrolling-container {
overflow: hidden;
margin: auto;
height: 400px;
-webkit-text-size-adjust: 100%
}
.scrolling-container {
position: relative;
width: 600px;
height: 400px;
z-index: 1;
}
.scrolling-sections {
position: relative;
width: 280px;
height: 400px;
float: left
}
.scrolling-section {
position: relative;
width: 280px;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.section2 {
background: rgba(0,0,0,.1);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.scrolling-inner p {
font: 500 11px/150% raleway !important;
text-align: justify
}
.section3{
background: rgba(0,0,0,.25);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.section4 {
background: rgba(0,0,0,.4);
color: #fefefe;
text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.scrolling-inner {
border: 3px solid #d1d1d1;
width: 85%;
height: 85%;
display: flex;
justify-content: center;
align-items: flex-start;
flex-direction: column;
box-sizing: border-box;
padding: 15px
}
.scrolling-underbg {
position: absolute;
background: #0e0e0e;
width: 600px;
height: 400px;
z-index: -1;
display: flex;
}
.scrolling-controls {
box-sizing: border-box;
float: right
}
.scrolling-bg {
width: 420px;
}
.scrolling-bg img {
width: 280px
}
.scrolling-name {
position: absolute;
color: #ffffff;
font: normal 30px/100% cinzel;
right: 0px;
top: 175px;
text-transform: uppercase;
z-index: 2;
width: 320px;
background: rgba(0,0,0,.3);
padding: 10px 0;
padding-left: 25px;
box-sizing: border-box;
}
.scrolling-name span {
color: #4e0000
}
.scrolling-right-text {
color: #72b6ce;
text-align: justify;
margin: 20px 25px;
font: 500 12px/150% raleway
}
</style>
<script type="text/javascript" src="https://forumstatic.ru/files/001b/6e/96/33188.js"></script>Поделиться32021-12-07 17:20:21
Код:
<!--HTML-->
<div class="ashton_wrap"><div class="ashton_img">
<img src="https://i.ibb.co/SVxrTQx/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ashton_top_text">
Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.
</div>
<div class="ashton_bottom_text">
lyrium ghost
</div>
<div class="ashton_center_text"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем. Указатель с названием города до сих пор валялся в нескольких футах от дороги, в густых зарослях пуэрарии, покоричневевший от крови, которая давным-давно высохла.
Так что поначалу Кристиан даже не знал, в какой город он въехал. Он знал только одно: он где-то в Северной Каролине, денег почти не осталось, бензин тоже уже на исходе, и весь день было душно и жарко, и солнце все время грозило выглянуть из-за облаков. В общем, даже не зная названия города, Кристиан решил задержаться здесь на какое-то время.
</div></div></div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_wrap {
margin: auto;
width: 500px;
height: 300px;
position: relative;
overflow: hidden
}
.ashton_img {
width: 500px;
overflow: hidden;
height:300px;
border-top: 40px solid #0e0e0e;
border-bottom: 40px solid #0e0e0e;
box-sizing: border-box
}
.ashton_img img {
width: 500px;
}
.ashton_top_text {
position: absolute;
z-index: 9;
color: #72b6ce;
font: 600 9px/150% raleway;
letter-spacing: .1em;
width: 500px;
height: 40px;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
transform: translateX(-100%)
}
.ashton_bottom_text {
position: absolute;
z-index: 9;
color: #ffffff;
font: normal 25px/100% cinzel;
letter-spacing: .1em;
width: 500px;
height: 40px;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
transform: translateX(100%)
}
.ashton_center_text {
position: absolute;
z-index: 9;
color: #ffffff;
font: 500 11px/150% raleway;
letter-spacing: .1em;
width: 460px;
height: 40px;
top: 60px;
left: 20px;
height: 180px;
text-align: justify;
border: 2px solid #ffffff;
box-sizing: border-box;
padding: 15px 20px;
transition: all .8s cubic-bezier(.63,.34,.09,.26) 0s;
opacity: 0;
filter: blur(10px)
}
.ashton_center_text div {
overflow-y: auto;
height: 100%;
padding-right: 4px;
}
.ashton_wrap:hover .ashton_bottom_text, .ashton_wrap:hover .ashton_top_text{
transform: translateX(0%)
}
.ashton_wrap:hover .ashton_center_text {
opacity: 1;
filter: blur(0px)
}</style>Код:
<div class="ashton_wrap"><div class="ashton_img">
<img src="https://i.ibb.co/SVxrTQx/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ashton_top_text">
Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.
</div>
<div class="ashton_bottom_text">
lyrium ghost
</div>
<div class="ashton_center_text"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем. Указатель с названием города до сих пор валялся в нескольких футах от дороги, в густых зарослях пуэрарии, покоричневевший от крови, которая давным-давно высохла.
Так что поначалу Кристиан даже не знал, в какой город он въехал. Он знал только одно: он где-то в Северной Каролине, денег почти не осталось, бензин тоже уже на исходе, и весь день было душно и жарко, и солнце все время грозило выглянуть из-за облаков. В общем, даже не зная названия города, Кристиан решил задержаться здесь на какое-то время.
</div></div></div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_wrap {
margin: auto;
width: 500px;
height: 300px;
position: relative;
overflow: hidden
}
.ashton_img {
width: 500px;
overflow: hidden;
height:300px;
border-top: 40px solid #0e0e0e;
border-bottom: 40px solid #0e0e0e;
box-sizing: border-box
}
.ashton_img img {
width: 500px;
}
.ashton_top_text {
position: absolute;
z-index: 9;
color: #72b6ce;
font: 600 9px/150% raleway;
letter-spacing: .1em;
width: 500px;
height: 40px;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
transform: translateX(-100%)
}
.ashton_bottom_text {
position: absolute;
z-index: 9;
color: #ffffff;
font: normal 25px/100% cinzel;
letter-spacing: .1em;
width: 500px;
height: 40px;
bottom: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
text-transform: uppercase;
transition: all .5s cubic-bezier(.63,.34,.09,.96) 0s;
transform: translateX(100%)
}
.ashton_center_text {
position: absolute;
z-index: 9;
color: #ffffff;
font: 500 11px/150% raleway;
letter-spacing: .1em;
width: 460px;
height: 40px;
top: 60px;
left: 20px;
height: 180px;
text-align: justify;
border: 2px solid #ffffff;
box-sizing: border-box;
padding: 15px 20px;
transition: all .8s cubic-bezier(.63,.34,.09,.26) 0s;
opacity: 0;
filter: blur(10px)
}
.ashton_center_text div {
overflow-y: auto;
height: 100%;
padding-right: 4px;
}
.ashton_wrap:hover .ashton_bottom_text, .ashton_wrap:hover .ashton_top_text{
transform: translateX(0%)
}
.ashton_wrap:hover .ashton_center_text {
opacity: 1;
filter: blur(0px)
}</style>Поделиться42021-12-07 17:49:02
Код:
<!--HTML-->
<div class="ashton__relations_wrap">
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton__relations_wrap {
margin: auto;
width: 600px;
height: auto;
position: relative;
padding: 20px;
box-sizing: border-box;
border: 2px solid #0e0e0e
}
.ash_rel_box {
display: flex;
justify-content: flex-end;
position: relative;
margin-top: 30px
}
.ash_rel_box:first-child {
margin-top: 0
}
.ash_rel_pic {
width: 240px;
position: relative;
height: 100px;
border: 2px solid #0e0e0e;
line-height: 0;
box-shadow: 5px 5px 0 0 #b2b0b0;
overflow: hidden
}
.ash_rel_pic:after {
content: "";
background: #5295ab;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
mix-blend-mode: overlay;
transition: transform .8s cubic-bezier(.63,.34,.09,.26) 0s;
transform: scaleX(0);
transform-origin: bottom left
}
.ash_rel_name {
position: absolute;
left: 0px;
top: 20px;
width: 312px;
font: 500 11px/150% raleway;
}
.ash_rel_name span {
display: block;
background: #0e0e0e;
color: #6dafc5;
font: normal 30px/13px cinzel;
height: 15px;
margin-bottom: 5px;
transition: all .3s cubic-bezier(.63,.34,.09,.26) 0s;
}
.ash_rel_name em {
font: 500 normal 11px/150% raleway !important;
display: inline-block;
padding-right: 20px
}
.ash_rel_desc {
position: absolute;
width: 240px;
height: 100px;
font: 500 10px/150% raleway;
color: #fff;
text-align: justify;
border: 2px solid #0e0e0e;
padding: 10px;
box-sizing: border-box;
right: 2px;
top: 2px;
transition: all .8s cubic-bezier(.63,.34,.09,.96) 0s;
transform: scale(0);
opacity: 0
}
.ash_rel_desc div {
overflow-y: auto;
height: 100%;
padding-right: 3px
}
.ash_rel_box:hover .ash_rel_pic:after {
transform: scaleX(1);
transform-origin: bottom right
}
.ash_rel_box:hover .ash_rel_desc {
transform: scale(1);
opacity: 1
}
.ash_rel_box:hover .ash_rel_name span {
color: #fff;
text-shadow: 4px -4px 0 #6dafc5
}
</style>Код:
<div class="ashton__relations_wrap">
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
<!-- блок начало -->
<div class="ash_rel_box">
<div class="ash_rel_pic">
<img src="https://i.ibb.co/mqGLzTS/486101eac1ecc48c16dfdf5f1d4eeb6b.png">
</div><div class="ash_rel_name">
<span>name surname</span>
<em>Не открывай мне своё сердце, маг. Не то рано или поздно я его у тебя вырву.</em>
</div><div class="ash_rel_desc"><div>
Он не знал, что это за городок, потому что на дороге не было никаких знаков с названием. Указатель – сосновую доску с выцветшей от времени краской – еще лет двадцать назад сбил один дядька, который решил оприходовать за одну ночь сразу двоих любовниц. Его голова покоилась на груди Водки, а рука – на бедре у Виски, когда он утратил контроль над своим автомобилем.
</div></div></div>
<!-- блок конец-->
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton__relations_wrap {
margin: auto;
width: 600px;
height: auto;
position: relative;
padding: 20px;
box-sizing: border-box;
border: 2px solid #0e0e0e
}
.ash_rel_box {
display: flex;
justify-content: flex-end;
position: relative;
margin-top: 30px
}
.ash_rel_box:first-child {
margin-top: 0
}
.ash_rel_pic {
width: 240px;
position: relative;
height: 100px;
border: 2px solid #0e0e0e;
line-height: 0;
box-shadow: 5px 5px 0 0 #b2b0b0;
overflow: hidden
}
.ash_rel_pic:after {
content: "";
background: #5295ab;
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
mix-blend-mode: overlay;
transition: transform .8s cubic-bezier(.63,.34,.09,.26) 0s;
transform: scaleX(0);
transform-origin: bottom left
}
.ash_rel_name {
position: absolute;
left: 0px;
top: 20px;
width: 312px;
font: 500 11px/150% raleway;
}
.ash_rel_name span {
display: block;
background: #0e0e0e;
color: #6dafc5;
font: normal 30px/13px cinzel;
height: 15px;
margin-bottom: 5px;
transition: all .3s cubic-bezier(.63,.34,.09,.26) 0s;
}
.ash_rel_name em {
font: 500 normal 11px/150% raleway !important;
display: inline-block;
padding-right: 20px
}
.ash_rel_desc {
position: absolute;
width: 240px;
height: 100px;
font: 500 10px/150% raleway;
color: #fff;
text-align: justify;
border: 2px solid #0e0e0e;
padding: 10px;
box-sizing: border-box;
right: 2px;
top: 2px;
transition: all .8s cubic-bezier(.63,.34,.09,.96) 0s;
transform: scale(0);
opacity: 0
}
.ash_rel_desc div {
overflow-y: auto;
height: 100%;
padding-right: 3px
}
.ash_rel_box:hover .ash_rel_pic:after {
transform: scaleX(1);
transform-origin: bottom right
}
.ash_rel_box:hover .ash_rel_desc {
transform: scale(1);
opacity: 1
}
.ash_rel_box:hover .ash_rel_name span {
color: #fff;
text-shadow: 4px -4px 0 #6dafc5
}
</style>Поделиться52021-12-07 17:58:42
Код:
<!--HTML-->
<div class="ashton_h1">
<span>заголовок какой то</span>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_h1 {
margin: 10px auto;
max-width: 600px;
text-align: center;
font: 800 22px raleway;
letter-spacing: .1em;
text-transform: uppercase;
color: #72b6ce;
position: relative;
height: auto;
z-index: 1
}
.ashton_h1 span {
display: block;
position: relative;
height: auto;
}
.ashton_h1 span:before {
content: "";
position: absolute;
display: block;
background: #0e0e0e;
width: 100%;
height: 10px;
top: 50%;
transform: translateY(-50%);
left: 0;
z-index: -1
}</style>
Код:
<div class="ashton_h1">
<span>заголовок какой то</span>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_h1 {
margin: 10px auto;
max-width: 600px;
text-align: center;
font: 800 22px raleway;
letter-spacing: .1em;
text-transform: uppercase;
color: #72b6ce;
position: relative;
height: auto;
z-index: 1
}
.ashton_h1 span {
display: block;
position: relative;
height: auto;
}
.ashton_h1 span:before {
content: "";
position: absolute;
display: block;
background: #0e0e0e;
width: 100%;
height: 10px;
top: 50%;
transform: translateY(-50%);
left: 0;
z-index: -1
}</style>Код:
<!--HTML-->
<div class="ashton_h2">
<span>заголовок какой то</span>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_h2 {
margin: 10px auto;
max-width: 600px;
text-align: center;
font: 800 15px raleway;
letter-spacing: .1em;
text-transform: lowercase;
color: #ffffff;
position: relative;
height: auto;
z-index: 1
}
.ashton_h2 span {
display: block;
position: relative;
height: auto;
}
.ashton_h2 span:before {
content: "";
position: absolute;
display: block;
background: #0e0e0e;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1
}</style>Код:
<div class="ashton_h2">
<span>заголовок какой то</span>
</div>
<style>
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap');
.ashton_h2 {
margin: 10px auto;
max-width: 600px;
text-align: center;
font: 800 15px raleway;
letter-spacing: .1em;
text-transform: lowercase;
color: #ffffff;
position: relative;
height: auto;
z-index: 1
}
.ashton_h2 span {
display: block;
position: relative;
height: auto;
}
.ashton_h2 span:before {
content: "";
position: absolute;
display: block;
background: #0e0e0e;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1
}</style>Страница: 1

















