画像を背景に指定しています
|
以下をコピーして使用してください
body {
margin: 0px;
padding: 0px;
}
.css-4-5-1 {
position: absolute;
width: 200px;
height: 200px;
margin: 0px
0px;
background-image: url(images/4_5_1.jpg);
background-repeat: no-repeat;
z-index: 2;
}
.css-4-5-2 {
position: absolute;
width: 200px;
height: 200px;
top: 120px;
left: 190px;
border: solid
1px thin;
padding: 5px;
z-index: 3;
}
.css-4-5-3 {
position: absolute;
top: 100px;
left: 140px;
width: 200px;
height: 97px;
border: solid
2px thin;
background-color: #ffff99;
z-index: 1;
} |