background-attachment CSS Property
CSS property of background-attachment will set whether background image is fixed or scroll. If it is fixed, background image will not move with page scroll.
Definition Of background-attachment property:
The background-attachment property of CSS will set background image either fixed with page scroll or move with page scroll.
What background-attachment property can do?
If background-attachment is set to fixed, background image will remain fixed either document scroll moves or not. And if it sets to scroll, background image will move with document scroll.
How to use CSS background-attachment property?
background-attachment: fixed | scrol
object.style.backgroundAttachment = "fixed"
Tags: background-attachment, css background attachment property