Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.
Last updated on : 2023-02-27
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
margin-block on IE is not supported on any IE versions.
margin-block on Edge is fully supported on 87-110, and not supported on 12-86 Edge versions.
margin-block on Firefox is fully supported on 66-112, and not supported on 2-65 Firefox versions.
margin-block on Chrome is fully supported on 87-113, and not supported on 4-86 Chrome versions.
margin-block on Safari is fully supported on 14-16, partially supported on null-null, and not supported on 0-13 Safari versions.
margin-block on Opera is not supported on any Opera versions.
margin-block on Safari on iOS is fully supported on 14-16, and not supported on 3-13 Safari on iOS versions.
margin-block on Android Browser support is currently unknown.
margin-block on Opera Mobile is not supported on any Opera Mobile versions.
margin-block on Chrome for Android is fully supported on all Chrome for Android versions.
margin-block on Firefox for Android is fully supported on all Firefox for Android versions.
margin-block on Samsung Internet is fully supported on 14-19, and not supported on 4-13 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:margin-block shows a browser compatibility score of 57. 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 margin-block & more
Test your website for margin-block 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?