Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
The scroll-margin-top property defines the top margin of the scroll snap area that is used for snapping this box to the snapport. The scroll snap area is determined by taking the transformed border box, finding its rectangular bounding box axis-aligned in the scroll container's coordinate space, then adding the specified outsets.
Last updated on : 2023-02-27
Browser Versions
IE
Edge
Firefox
Chrome
Safari
Opera
Fully Supported
Partially
No Support
scroll-margin-top on IE is not supported on any IE versions.
scroll-margin-top on Edge is fully supported on 79-110, and not supported on 12-18 Edge versions.
scroll-margin-top on Firefox is fully supported on 68-112, and not supported on 2-67 Firefox versions.
scroll-margin-top on Chrome is fully supported on 69-113, and not supported on 4-68 Chrome versions.
scroll-margin-top on Safari is fully supported on 11-16, partially supported on null-null, and not supported on 0-10 Safari versions.
scroll-margin-top on Opera is not supported on any Opera versions.
scroll-margin-top on Safari on iOS is fully supported on 11-16, and not supported on 3-10 Safari on iOS versions.
scroll-margin-top on Android Browser support is currently unknown.
scroll-margin-top on Opera Mobile is not supported on any Opera Mobile versions.
scroll-margin-top on Chrome for Android is fully supported on all Chrome for Android versions.
scroll-margin-top on Firefox for Android is fully supported on all Firefox for Android versions.
scroll-margin-top on Samsung Internet is fully supported on 11-19, and not supported on 4-10 Samsung Internet versions.
Data sourced from
Overall Browser Compatibility Score
Note:scroll-margin-top shows a browser compatibility score of 67. 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 scroll-margin-top & more
Test your website for scroll-margin-top 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?