The background-attachment property sets whether a background image is to be fixed or scrolls within the enclosing object.
Value | Description |
---|---|
scroll | Default. The background-image may scroll within the enclosing object |
fixed | The background-image is fixed within the enclosing object |