Загрузка видео...

Не удалось загрузить видео

На главную

use CSS :has() & :user-valid/invalid to power form micro-interactions .group:has(:valid) { --color: var(--valid); } input:user-invalid + .error { display: block; } :user-valid/invalid detects if an input is valid and if it has been interacted with 🔥 no js dirty checkin' 🤙

53,347 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

here's the @CodePen link! 🚀 got a request for this in "the other place™" so threw together a new demo now that :user-valid/invalid has good support 🙌

Фото профиля Kyle TechSquidTV
Kyle TechSquidTV1 год назад

Beautiful 👏

Фото профиля Steven
Steven1 год назад

Bro you’re cooking on thanksgiving? Love it

Фото профиля jhey ▲🐻🎈
jhey ▲🐻🎈1 год назад

not now - i'm waitin' for the cookin' 💀 got the game on, Steam Deck in hand 😇

Фото профиля Marlon Stevenson
Marlon Stevenson1 год назад

Really sweet animation. Bookmarked.

Фото профиля Marcos Esqueda
Marcos Esqueda1 год назад

How did you do the grid pattern?

Фото профиля Riaad Arif
Riaad Arif1 год назад

Hats off to you! 🎩

Фото профиля Abolfazl
Abolfazl1 год назад

That's so beautiful bro🤝

Фото профиля Patil Ketan
Patil Ketan1 год назад

I love your design I try to make it useing ai but I can’t can you give me any idea ?

Фото профиля Matthias Martin
Matthias Martin1 год назад

Would be cool to have a CSS only solution for different error messages depending on the input.

Похожие видео