Figure 6-54. Scrolling the background image out of view
Never fear: there is a way to prevent this scrolling.
background-attachment
Using the property
background-attachment, you can declare the background to be
fixed with respect to the viewing area and
therefore immune to the effects of scrolling:
the first few elements!
In addition, if the document is scrolled, the paragraph will scrollright along with it. This is because the element's containingblock is the BODY element's content area,not the viewport. If you want to position elements so thatthey're placed relative to the viewport and don't scrollalong with the rest of the document, then the next section is foryou.