MDN wants to learn about developers like you:

aspect-ratio is a CSS media feature whose value is the width-to-height aspect <ratio> of the viewport. It has min and max attributes.


Specification Status Comment
Media Queries
The definition of 'aspect-ratio' in that specification.
Recommendation Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? 3.5 (1.9.1) 9.0 ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?


Document Tags and Contributors

 Contributors to this page: mfluehr, Kinifwyne, mrenty, ErwinWessels, andylampert, cvrebert
 Last updated by: mfluehr,