JavaScript
5
Вклад в тег
.works-nav__item.slick-slide.slick-current.slick-active
.works-nav__item .slick-slide .slick-current .slick-active
function func(a, b, c) {
if(c > b && b > a) {
return `${a**2} ${b**2} ${c**2}`;
}
return `${a/2} ${b/2} ${c/2}`;
}