3 ms·
Precular design choice to change the aspect ratio of the main graphic/photo based on the browser window width.
by tpmx 5y ago
Precular design choice to change the aspect ratio of the main graphic/photo based on the browser window width.
- neals 5y agobackground-size : cover / contain ... why not both?
- RicoElectrico 5y agoWhy do people make such mistakes in 2021? Who thought it's going to look OK?
- account42 5y agoThey do actually adjust the height at fixed breakpoints to keep the aspect ratio somewhat stable - not a perfect solution, but they tried. To be fair, browser designers really dragged their feet on adding a proper CSS solution for full-width content with a fixed aspect ratio. And even now, what we have is hardly as simple as it could be.