The Power of :has() in CSS | CSS-Tricks – CSS-Tricks
April 3, 2024
Hey all you wonderful developers out there! In this post we are going to explore the use of :has() in your next web project. :has() is relatively newish but has gained popularity in the front end community by delivering control over various elements in your UI. Let’s take a look at what the pseudo class is and how we can utilize it.
Source: The Power of :has() in CSS | CSS-Tricks – CSS-Tricks
In recent years CSS has gained numerous powerful new features, often like with :has
that developers have agitated for for years.
Now it’s here learn more and tart using it if you haven’t already!
And on Conffab we first covered :has
in 2016 when it was still far off on the horizon and in 2022 covered it and other new selects in detail, and how it fits into the broader CSS architecture landscape.