4 ms·
Yeah that's main thing missing, media queries should have been "relative" to its parent from the start not window absolute.
by wouldbecouldbe 3y ago
Yeah that's main thing missing, media queries should have been "relative" to its parent from the start not window absolute.
- agloe_dreams 3y agoThey added that last year, but I agree. This proposal is around adding a query for other properties on a container.
- bunga-bunga 3y agoWidth media queries are far older than you think, so it definitely makes sense that they’re relative to the viewport. Firefox was the first to implement them in 2006. At that time “components” were in their fetal stage. https://caniuse.com/mdn-css_at-rules_media_width https://caniuse.com/mdn-css_at-rules_media_width