0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Usually, the background image scrolls together with the content of the block. This can be clearly seen in the mini-browser. Scroll down in the window and watch how the background moves upwards.</p>
1
<p>Usually, the background image scrolls together with the content of the block. This can be clearly seen in the mini-browser. Scroll down in the window and watch how the background moves upwards.</p>
2
<p>With the background-attachment property, the background can be locked in place and will not move when you scroll.</p>
2
<p>With the background-attachment property, the background can be locked in place and will not move when you scroll.</p>
3
<p>The property value is:</p>
3
<p>The property value is:</p>
4
<ul><li>scroll - The background scrolls along with the content. This is the default value.</li>
4
<ul><li>scroll - The background scrolls along with the content. This is the default value.</li>
5
<li>fixed - The background does not scroll. It is fixed in one place.</li>
5
<li>fixed - The background does not scroll. It is fixed in one place.</li>
6
</ul><p>This is a case where it is easier to show than to offer an explanation: complete the assignment and watch how the background behavior changes as you scroll.</p>
6
</ul><p>This is a case where it is easier to show than to offer an explanation: complete the assignment and watch how the background behavior changes as you scroll.</p>