CSS background-attachment Property

The css background-attachment property defines if a background image scrolls with the content or stays fixed.

Syntax for background-attachment property

scroll | fixed | inherit