CSSを使用して、最初の背景画像を垂直方向と水平方向の両方に繰り返し、2番目の背景画像をちょうど水平方向に繰り返すにはどうすればよいですか?CSS3に依存しないようにしたいと思います。
次のことを試しましたが、成功しませんでした。
body {
font-family:Verdana, Geneva, sans-serif;
position:relative;
z-index:1;
}
body:before,
body:after {
position:absolute;
z-index:-1;
top:0;
left:0;
right:0;
bottom:0;
}
body:after {
background-image:url('../images/bg.png');
background-repeat:repeat;
}
body:before {
background-image:url('../images/top-bg.png');
background-repeat:repeat-x;
}