Mention how <ratio> values are compared #37482
Labels
Content:CSS
Cascading Style Sheets docs
goal: clarity
(Experimental label) Issues about unclear/confusing/inconcise content.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/aspect-ratio
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
The max-aspect-ratio media feature can be a bit counterintuitive. It's not clear how aspect ratio works.
What did you expect to see?
In this case, max-aspect-ratio actually means "maximum width-to-height ratio". So, if you set max-aspect-ratio: 16/9, it means the device's width-to-height ratio should be 16:9 or less, i.e., 16:16 is less rather than more.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
en-us/web/css/@media/aspect-ratio
The text was updated successfully, but these errors were encountered: