переделал меню phone на ul

This commit is contained in:
Kirill Pet
2024-12-23 17:31:11 +03:00
parent a68e12af2f
commit 5b0a62233e
3 changed files with 175 additions and 161 deletions

View File

@@ -110,14 +110,14 @@
height: 100vh;
overflow-y: auto;
}
.phone-menu__block-content{
/* .phone-menu__block-content{
height: 0;
overflow: hidden;
z-index: 10;
transition: all .5s;
}
} */
.phone-menu__content{
padding: 104px 16px 40px 16px;
@@ -127,20 +127,22 @@
position: absolute;
top: 0;
left: 100%;
width: 100%;
transition: all .3s;
height: 100vh;
width: 100%;
height: 100%;
padding: 104px 16px 40px 16px;
background-color: var(--background-main);
}
.phone-menu__sub.active{
left: 0;
overflow-y: auto;
transition: all .5s;
}
.phone-menu__sub .title-1{
margin-bottom: 32px;
.phone-menu__sub.open{
left: 0;
}
.phone-menu__sub li:nth-child(2) a{
font-weight: 700;
font-size: 32px;
}
.phone-menu-content__close{
position: absolute;
@@ -213,9 +215,6 @@
.phone-menu__text--no-line{
text-decoration: none;
}
.phone-menu__sub .title-1{
text-transform: capitalize;
}
.phone-social{
margin-top: 24px;