aspect-ratio media feature
- Value: <ratio>
- Applies to: bitmap media types
- Accepts min/max prefixes: yes
The Cascading Style Sheets (CSS) <ratio> type is defined in the Media Queries specification as a positive (not zero or negative) integer followed by optional whitespace, followed by a solidus ("/"), followed by optional whitespace, followed by a positive integer—for instance, "16/9".
The following declaration will apply "border:none" when the screen's aspect ratio is 91/50 (equivalent to 1.85, which is a common widescreen movie aspect ratio) or smaller.