CSS background-attachment
- CRMethod of defining how a background image is attached to a scrollable element. Values include scroll
(default), fixed
and local
.
Chrome
- 4 - 116: Supported
- 117: Supported
- 118 - 120: Supported
Edge
- 12 - 116: Supported
- 117: Supported
Safari
- 3.1 - 4: Partial support
- 5 - 12.1: Supported
- 13 - 13.1: Partial support
- 14 - 15.3: Not supported
- 15.4 - 16.5: Supported
- 16.6: Supported
- 17.0 - TP: Supported
Firefox
- 2 - 24: Partial support
- 25 - 116: Supported
- 117: Supported
- 118 - 120: Supported
Opera
- 9 - 10.1: Partial support
- 10.5 - 101: Supported
- 102: Supported
IE
- 5.5 - 8: Partial support
- 9 - 10: Supported
- 11: Supported
Chrome for Android
- 117: Supported
Safari on iOS
- 3.2 - 4.3: Not supported
- 5 - 12.5: Partial support
- 13 - 16.6: Not supported
- 17.0: Not supported
- 17.1: Not supported
Samsung Internet
- 4: Not supported
- 5 - 21: Partial support
- 22: Partial support
Opera Mini
- all: Not supported
Opera Mobile
- 10: Partial support
- 11 - 12.1: Supported
- 73: Supported
UC Browser for Android
- 15.5: Supported
Android Browser
- 2.1 - 4: Not supported
- 4.1 - 4.3: Partial support
- 4.4 - 4.4.4: Not supported
- 117: Not supported
Firefox for Android
- 117: Supported
QQ Browser
- 13.1: Supported
Baidu Browser
- 13.18: Supported
KaiOS Browser
- 2.5: Supported
- 3: Supported
Most mobile devices have a delay in updating the background position after scrolling a page with fixed
backgrounds.
- Resources:
- MDN Web Docs - background-attachment