Загрузка видео...
Не удалось загрузить видео
CSS Trick 🤙 You can create these tab bar controls by using :has() to count the number of tabs ⭐️ .tabs:has(input:nth-of-type(3)){--count: 3;} .tabs:has(:checked:nth-of-type(3)){--active: 200%;} .tabs::after{ translate:var(--active) 0;} Let's break it down in this ! 📼 Couple of CSS :has() tricks here combined with custom properties 😎 First things first,... show more
70,670 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 9

Filigreti2 лет назад
@jhey I ended up doing something like this after an hour of work of multiple hidden divs .. i was wondering if you had a simpler method

Ofek Asido2 лет назад
I was looking for this effect, so NextJSy

Jan2 лет назад
so good, thanks for a quick tutorial!

jhey ▲🐻🎈2 лет назад
It's in the post below 🤙 But, here it is again ⭐️

R G2 лет назад
Nice! Thanks for sharing

Papa Jass 👍2 лет назад
Nice! Thanks for sharing

swk xiii 💐2 лет назад
I ended up doing something like this after an hour of work of multiple hidden divs .. i was wondering if you had a simpler method

7🪞2 лет назад
Nice! Thanks for sharing

Damiano Fusco2 лет назад
Very cool, thank you for sharing.

