Let Me Access the Language! (also, Container Queries!)
On a recent episode of Learn with Jason, Miriam Suzanne got to demonstrate all the cool stuff you can do with container queries (and CSS grid!) and how browser specs finally got us to this point. But…that’s not what this post is about. 😉
41 minutesinto the video, Jason goes on a lovely rant about the dangers of abstraction layers when they remove you from gaining clear access to the languages of the web. Especially when it comes to CSS, as we’re now beginning to see an inversion (as Miriam explains) where the pace of the native platform is actually eclipsing the pace of many of the popular tools attempting to wrap CSS. (And I would argue, widespread education in this space is a huge problem—people are arguing over what CSS can or can’t do using years -out-of-date concrete examples!)
Things weren’t always like this! There was a time when the capabilities of the web evolved very slowly. We had to use user-land abstractions to paper over all the weaknesses in the underlying platform. The good news is, nowadays the reverse is often true! The web is evolving rapidly, and the best libraries & frameworks are the ones which can continuously align with current & future web standards.