The below is an off-site archive of all tweets posted by @tomayac ever

August 4th, 2022

TerribleMia There’s a long-standing CSS ‘best practice’ to remove units from zero-values. But there are many cases where that will break your code!

I explore the reasons for that, when to use zero-units, and the problems with over-eager lint & minification tools:…

via TweetDeck Web App (retweeted on 9:50 AM, Aug 4th, 2022 via Echofon)

A Complete Guide to CSS Cascade Layers:…. The most concise introduction to Cascade Layers I’ve seen so far. Great work, @TerribleMia 👏!

via Echofon

Una 🚨 Chrome 105 is a HUGE release! (stable Aug 30)

🤯 :has() & size container queries are BOTH landing!

These are 2 powerhouse APIs for responsive, component-based design. Together they unlock so many possibilities!

I wrote a post on how to combine them:…

via Twitter Web App (retweeted on 9:04 AM, Aug 4th, 2022 via Echofon)

ChromiumDev Chrome 105 includes the :has() pseudo-class. This gives us the long-awaited parent selector, but it can be so much more. Get all the details in this post from @jh3yy

via TweetDeck (retweeted on 9:01 AM, Aug 4th, 2022 via Echofon)