3 ms·
From what I've read the way to approach media queries is to shrink your page width to a point where the page breaks and then add in some code to fix it. Elemen
by soparrissays 14y ago
From what I've read the way to approach media queries is to shrink your page width to a point where the page breaks and then add in some code to fix it.
Element queries would be nice, but aren't we essentially doing that if we take the idea of the previous approach and apply to more high level elements?
If we create media queries on a per element basis we are essentially achieving the same thing. In that sense media queries are a superset of your proposed solution. It would make for a nice short hand though.