Baseline Widely CSS
css.properties.scroll-margin
Granular MDN Browser Compat Data support history across 13 tracked browsers.
Specification Area
CSS
Standard track
First Core Launch
Chrome 69
2018-09-04
Core-3 Stability
1,043d (2.9y)
Last: Firefox (2021-07-13)
Baseline Feature
Widely
Scroll snap
Browser Support Timeline
Notes (3)
Firefox, FF And: Thescroll-margin property can cause an element's visibility to be incorrectly calculated for element.focus(). See bug 1708303.Safari: Before version 14.1, scroll margin is not applied for scrolls to fragment target or scrollIntoView(), see bug 189265.Saf iOS, WV iOS: Before version 14.5, scroll margin is not applied for scrolls to fragment target or scrollIntoView(), see bug 189265.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 69 | 2018-09-04 | Supported |
| Firefox | desktop | 90 | 2021-07-13 | Supported |
| Safari | desktop | 14.1 | 2021-04-26 | Supported |
| Edge | desktop | 79 | 2020-01-15 | Supported |
| Chrome Android | mobile | 69 | 2018-09-04 | Supported |
| Firefox for Android | mobile | 90 | 2021-07-13 | Supported |
| Safari on iOS | mobile | 14.5 | 2021-04-26 | Supported |
| WebView Android | mobile | 69 | 2018-09-04 | Supported |
| WebView on iOS | mobile | 14.5 | 2021-04-26 | Supported |
| Samsung Browser | mobile | 10.0 | 2019-08-22 | Supported |
| Opera | desktop | 56 | 2018-09-25 | Supported |
| Opera Android | mobile | 48 | 2018-11-08 | Supported |
| Deno | server | — | — | — |
| Node.js | server | — | — | — |
| Bun | server | — | — | — |
| Quest Browser | xr | 6.0 | 2019-08-12 | Supported |
| Internet Explorer | desktop | — | — | — |