回答編集履歴
2
コード追記
answer
CHANGED
@@ -15,4 +15,25 @@
|
|
15
15
|
height: 45px;
|
16
16
|
flex-shrink: 0; /* 追加 縮小するのを防ぐ */
|
17
17
|
}
|
18
|
+
```
|
19
|
+
|
20
|
+
ちなみに、ymobileさんのは、text-indent と padding-left を使っているようです。
|
21
|
+
|
22
|
+
```css
|
23
|
+
.answer{
|
24
|
+
color: #000;
|
25
|
+
text-indent: -55px;
|
26
|
+
padding-left: 55px;
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
.answer:before{
|
31
|
+
content: "";
|
32
|
+
background: url(images/answer_ico.png) no-repeat left top;
|
33
|
+
background-size: 45px;
|
34
|
+
width: 55px;
|
35
|
+
height: 45px;
|
36
|
+
display: inline-block;
|
37
|
+
vertical-align: middle;
|
38
|
+
}
|
18
39
|
```
|
1
誤字修正
answer
CHANGED
@@ -13,6 +13,6 @@
|
|
13
13
|
background-size: 45px;
|
14
14
|
width: 55px;
|
15
15
|
height: 45px;
|
16
|
-
flex-shrink: 0; /* 追加 縮小するの
|
16
|
+
flex-shrink: 0; /* 追加 縮小するのを防ぐ */
|
17
17
|
}
|
18
18
|
```
|