css keep cover image in place when scrolling code example
Example 1: css keep background image from scrolling
background-attachment: fixed;
Example 2: css background image follow scroll
background-attachment: scroll;
background-attachment: fixed;
background-attachment: local;