回答編集履歴
1
少しコンパクトにしました。
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
height: 100px;
|
10
10
|
|
11
|
-
position: relative;
|
11
|
+
/* position: relative; */
|
12
12
|
|
13
13
|
background: #c33;
|
14
14
|
|
@@ -24,13 +24,11 @@
|
|
24
24
|
|
25
25
|
img {
|
26
26
|
|
27
|
+
/*
|
28
|
+
|
27
29
|
display: block;
|
28
30
|
|
29
|
-
position:
|
31
|
+
position: absolute;
|
30
|
-
|
31
|
-
flex-shrink: 0;
|
32
|
-
|
33
|
-
/*
|
34
32
|
|
35
33
|
top: 50%;
|
36
34
|
|
@@ -42,6 +40,8 @@
|
|
42
40
|
|
43
41
|
opacity: 0.5;
|
44
42
|
|
43
|
+
flex-shrink: 0;
|
44
|
+
|
45
45
|
}
|
46
46
|
|
47
47
|
```
|