4 ms·
I agree with you in principle. But having many different breakpoints that are accurately defined at exact widths leads to one huge practical downside: the numbe
by molf 5y ago
I agree with you in principle. But having many different breakpoints that are accurately defined at exact widths leads to one huge practical downside: the number of possible combinations of website element versions skyrockets. I have found this to quickly lead to a situation where it is no longer practical to test all combinations.
A small number of global breakpoints can be a better trade-off when it means the website works better (for most people).
- andrewingram 5y agoI think you're definitely right. It's possible that container queries may open up new possibilities that resolve the tension between the two approaches.
- eurasiantiger 5y agoOr, you know, use CSS Grid.
- andrewingram 5y agoThis feels a little snarky, and somewhat tangential. I've been using CSS Grid for years as my default layout method, but it doesn't magically solve all issues.
- eurasiantiger 5y agoIt pretty much does, though. It’s just the syntax is horrible.