|
|
|
|
|
by extra88
1881 days ago
|
|
FYI, a container queries implementation is in the Chrome testing browser. > Most users don't resize their windows on desktop all that much like we do. No, but their windows do start out at wildly different sizes. It's not like everyone who's not a web dev leaves their browser maximized all the time. Container queries are for making micro layouts. Sometimes a layout alternative can benefit from loading different media but that's not the primary purpose. > maybe background-image + media queries might seem like a good plan? If an image is content and not purely decorative, it belongs in the document, the HTML, where it has an 'alt' attribute for a text alternative. https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Contain... |
|