.accordion__button::after {
content: url(../image/accordion__arrow.svg);
position: absolute;
top: 0;
bottom: 0;
margin: auto;
right: 20px;
transition: transform 0.5s ease-in;
}
.accordion__wrapper.active .accordion__button::after {
transform: rotate(180deg);
}
display: flex;
flex-wrap: wrap;
justify-content: end;
margin: 0 -20px;
margin: 10px 20px
width: calc(20% - 20px);
padding-top: calc(100px - 10%);
li {
background-color: gray;
}
li:hover {
background-color: white;
border-radius: 10px 0 0 10px;
}
li:hover + li {
border-radius: 0 10px 0 0;
}
li:has(+ li:hover) {
border-radius: 0 0 10px 0;
}
.my-class {
animation-name: about-placing;
animation-duration: 0.5s;
animation-timing-function: ease-out;
animation-fill-mode: backwards;
animation-delay: 1s;
}
font-size: clamp(10px, 5vw, 16px);
let url = location.href;
if (url.slice(-1) == '/') url = url.slice(0, -1);
$($('#menu').children().get().reverse()).each(function() {
let link = $(this).children('a').first().attr('href');
if (link.slice(-1) == '/') link = link.slice(0, -1);
if (link && url.indexOf(link) === 0) {
$(this).addClass('current');
self.current = true;
}
});