The background-attachment Property

The backround-attachment property sets whether a background-image is fixed or scrolls with the rest of the page.

Even if an element has a scrolling mechanism, a "fixed" background doesn't move with the element.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.

The background-image is fixed. Even if you try to scroll down the page, it will not move.





You can also set the background-attachment to inherit or scroll.