Web platform features explorer

background-attachment

Widely available since 2024-09-14
Tags: css Groups: CSS > Background

The background-attachment CSS property sets whether an element's background image or gradient moves as the element scrolls.

Browser support (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