:has() lands in Chrome!
Your browser does not support the :has() selector. This layout will fallback to using centered columns.
What a big day for CSS, because the new
:has()
selector is now in Chrome 105 stable! This is a big deal because you can now style parent elements based on their children. You have never been able to do this in CSS before. Like ever.
I can't believe how amazing it is. We live in the future. We even got size container queries in Chrome 105 as well! Now all we need is subgrid and my life will be complete. Okay, that's not true. I'll always be asking for more CSS features.