добавление маркера для toggle

This commit is contained in:
Kirill Pet
2025-05-02 15:02:08 +03:00
parent 27167fbec2
commit e3e8e3a187
2 changed files with 16 additions and 18 deletions

View File

@@ -2288,7 +2288,23 @@ button{
width: 100%;
}
.subscription__toggle-header{
position: relative;
}
.subscription__toggle-header::after{
content: '';
position: absolute;
top: 3.5px;
right: 0;
width: 24px;
aspect-ratio: 1;
background-image: url(../img/svg/main/black-x.svg);
transform: rotate(45deg);
transition: transform .2s;
pointer-events: none;
}
.subscription__toggle-header.active::after{
transform: rotate(0deg);
}
.subscription__toggle-product{
align-items: start;