Thoughts on switching layouts with container style queries
With style container queries, we basically now have a way to declare conditionals in CSS. With a change of a just single CSS custom property, we can alter layouts.
But should we?
With style container queries, we basically now have a way to declare conditionals in CSS. With a change of a just single CSS custom property, we can alter layouts.
But should we?