background-attachment プロパティ
背景画像の配置状態(固定するかしないか)を指定
主な値
fixed:
背景画像の位置を固定。
scroll:
背景画像はスクロールに追従。
(例)
■html
<div class="att">
<p>The position of the background image is fixed and it does not move even if you scroll.</p>
</div>
■css
div.att {
background-image: url("test.gif");
background-attachment: fixed;
}
HTML&CSS: CSS。