回答編集履歴
2
修正
test
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
上のcssだと右に寄ってしまったりと出来なかったのですが
|
2
2
|
これで思ってた形、動きになりました。
|
3
|
+
ありがとうございました。
|
3
4
|
|
4
5
|
|
5
6
|
```ここに言語を入力
|
1
修正
test
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
width: 100%;
|
10
10
|
max-width: 700px; /* サイズは親に設定 */
|
11
11
|
}
|
12
|
-
img.top2{
|
12
|
+
img.top2,img.top3,img.top4,img.top5{
|
13
13
|
position:
|
14
14
|
absolute;
|
15
15
|
left: 0;
|
@@ -17,28 +17,4 @@
|
|
17
17
|
margin: auto;
|
18
18
|
z-index: 10;
|
19
19
|
}
|
20
|
-
img.top3{
|
21
|
-
position:
|
22
|
-
absolute;
|
23
|
-
left: 0;
|
24
|
-
right: 0;
|
25
|
-
margin: auto;
|
26
|
-
z-index: 10;
|
27
|
-
}
|
28
|
-
img.top4{
|
29
|
-
position:
|
30
|
-
absolute;
|
31
|
-
left: 0;
|
32
|
-
right: 0;
|
33
|
-
margin: auto; top: 0;
|
34
|
-
z-index: 10;
|
35
|
-
}
|
36
|
-
img.top5{
|
37
|
-
position:
|
38
|
-
absolute;
|
39
|
-
left: 0;
|
40
|
-
right: 0;
|
41
|
-
margin: auto;
|
42
|
-
z-index: 11;
|
43
|
-
}
|
44
20
|
```
|