CSS · Properties — CSS Backgrounds and Borders
background-attachment
The CSS background-attachment property. Initial value: scroll. Not inherited.
Syntax
background-attachment: <attachment>#Example
Try it
Notes
Media: visual. Applies to: allElements. Computed value: asSpecified.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.