background-attachment
Widely available
The background-attachment
CSS property sets whether an element's background image or gradient moves as the element scrolls.
To learn more, see
background-attachment at MDN.
Compatibility (view on caniuse.com)
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 25 Released on 2013-10-29
- Firefox for Android 25 Released on 2013-10-29
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14