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 - 123: Supported
- 124: Supported
- 125 - 127: Supported
Edge
- 12 - 123: Supported
- 124: Supported
Safari
- 3.1 - 4: Partial support
- 5 - 12.1: Supported
- 13 - 13.1: Partial support
- 14 - 15.3: Not supported
- 15.4 - 17.3: Supported
- 17.4: Supported
- 17.5 - TP: Supported
Firefox
- 2 - 24: Partial support
- 25 - 124: Supported
- 125: Supported
- 126 - 128: Supported
Opera
- 9 - 10.1: Partial support
- 10.5 - 108: Supported
- 109: Supported
IE
- 5.5 - 8: Partial support
- 9 - 10: Supported
- 11: Supported
Chrome for Android
- 124: Supported
Safari on iOS
- 3.2 - 4.3: Not supported
- 5 - 12.5: Partial support
- 13 - 17.3: Not supported
- 17.4: Not supported
- 17.5: Not supported
Samsung Internet
- 4: Not supported
- 5 - 23: Partial support
- 24: Partial support
Opera Mini
- all: Not supported
Opera Mobile
- 10: Partial support
- 11 - 12.1: Supported
- 80: 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
- 124: Not supported
Firefox for Android
- 125: Supported
QQ Browser
- 14.9: Supported
Baidu Browser
- 13.52: 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