Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah that's main thing missing, media queries should have been "relative" to its parent from the start not window absolute.


Width 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


They added that last year, but I agree.

This proposal is around adding a query for other properties on a container.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: