ブロックの背景に設定した画像の並べ方を設定するには、 background-repeatプロパティを設定します。
pre> background-repeat: 並べ方 /pre>
pre> background-repeat: 並べ方
/pre>
background-repeatプロパティは、背景画像の並べ方を指定します。 並べ方には、次の4種類があります。 プロパティを指定していない状態は、「repeat」を指定したときと同じ状態です。
pre> body { background-image: url(bgimage.gif); COLOR(red):background-repeat: COLOR(blue):repeat-yCOLOR(black):; } /pre>
pre> body {
background-image: url(bgimage.gif); COLOR(red):background-repeat: COLOR(blue):repeat-yCOLOR(black):;
}
次へ進んでください。