DEV Community

Cover image for ↔️ Sideway selection in CSS with :has()

↔️ Sideway selection in CSS with :has()

Francesco Vetere on January 31, 2024

Hi folks! πŸ‘‹ Today I would like to share with you this codepen I created in order to showcase a simple but really cool use for the recently introduc...
Collapse
 
morganney profile image
Morgan Ney

This has me excited.

Collapse
 
francescovetere profile image
Francesco Vetere

πŸ˜‚πŸ˜‚πŸ˜‚

Collapse
 
ben profile image
Ben Halpern

This is really helpful, thanks!

Collapse
 
francescovetere profile image
Francesco Vetere

Glad it helped! :)

Collapse
 
abdulmuminyqn profile image
Abdulmumin yaqeen

I super duper love the :has() 🫢

@devcanvas_ have a super cool demo on something like this.

you can find it here

Collapse
 
francescovetere profile image
Francesco Vetere

Cool stuff! 😍