Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The aspect-ratio CSS property sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.
Last updated on : 2023-02-27
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
aspect-ratio on IE is not supported on any IE versions.
aspect-ratio on Edge is fully supported on 88-110, and not supported on 12-87 Edge versions.
aspect-ratio on Firefox is fully supported on 89-112, and not supported on 2-88 Firefox versions.
aspect-ratio on Chrome is fully supported on 88-113, and not supported on 4-87 Chrome versions.
aspect-ratio on Safari is fully supported on 15-16, partially supported on null-null, and not supported on 0-14 Safari versions.
aspect-ratio on Opera is not supported on any Opera versions.
aspect-ratio on Safari on iOS is fully supported on 15-16, and not supported on 3-14 Safari on iOS versions.
aspect-ratio on Android Browser support is currently unknown.
aspect-ratio on Opera Mobile is not supported on any Opera Mobile versions.
aspect-ratio on Chrome for Android is fully supported on all Chrome for Android versions.
aspect-ratio on Firefox for Android is fully supported on all Firefox for Android versions.
aspect-ratio on Samsung Internet is fully supported on 15-19, and not supported on 4-14 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:aspect-ratio shows a browser compatibility score of 53. This is a collective score out of 100 to represent browser support of a web technology. The higher this score is, the greater is the browser compatibility. The browser compatibility score is not a 100% reflection for every browser and the web technology support. However, it does give you an estimate on how much you should rely on a particular web technology in terms of browser compatibility.
Test on 3000+ browsers for aspect-ratio & more
Test your website for aspect-ratio and other web technologies. Get 100 FREE automation test minutes!
Test NowKaneAI - Testing Assistant
World’s first AI-Powered E2E testing agent.
Did you find this page helpful?