Re:State of CSS
by willio58 on Friday October 21, 2022 @01:04PM
(#33290401)
Container queries allow devs to step away from the classic small, medium, large breakpoints for screen sizes and consider the best look for a certain component at different widths. This is much better because a component on screen can be affected by many different parent element’s breakpoints, so it’s hard to define when a screen size should affect a component. With containers, it’s very clear.
[ Parent
| on HN ]
There are no comments on this comment yet.