backgroundAttachment
If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.
If a background-image is specified, the background-attachment CSS property determines whether that image's position is fixed within the viewport, or scrolls along with its containing block.
MDN
Value members
Concrete fields
This keyword means that the background image will not scroll with its containing element, instead remaining stationary within the viewport.
This keyword means that the background image will not scroll with its containing element, instead remaining stationary within the viewport.
MDN
This keyword means that the background image will not scroll with its containing element, but will scroll when the element's content scrolls: it is fixed regarding the element's content.
This keyword means that the background image will not scroll with its containing element, but will scroll when the element's content scrolls: it is fixed regarding the element's content.
MDN