It would be nice if we could have a ratio rule in CSS for all block elements, so adjusting one dimension would automatically alter the other, preserving the ratio at all screen sizes. e.g.:
width: 2000px;
max-width: 100%;
ratio: 16/9;
Of course this gets tricky when width and height are both specified and they don't match the given ratio, but that just means that one needs to always override the other.Edit to add: Or maybe it would be better to just have the ability to lock the ratio, such as:
ratio: fixed;