use CSS :has() & :user-valid/invalid to power form micro-interactions
@jh3yy148K followers
53,605 views
10 Comments
Comments from the original post on X (Twitter)

@jh3yy
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 🙌
61 likes

@TechSquidTV
Beautiful 👏
2 likes

@AppLab_io
Bro you’re cooking on thanksgiving? Love it
1 like

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

@mRockSwe
Really sweet animation. Bookmarked.

@bymarcant
How did you do the grid pattern?

@riaad_arif
Hats off to you! 🎩

@mrjs6781
That's so beautiful bro🤝

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

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