Hacker News new | ask | show | jobs
by tpmx 1704 days ago
Precular design choice to change the aspect ratio of the main graphic/photo based on the browser window width.
3 comments

They 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.
Why do people make such mistakes in 2021? Who thought it's going to look OK?
background-size : cover / contain ... why not both?