質問編集履歴
3
html部分修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -11,13 +11,31 @@
|
|
11
11
|
|
12
12
|
###該当のソースコード
|
13
13
|
```html
|
14
|
+
<!doctype html>
|
15
|
+
<html lang="ja">
|
16
|
+
<head>
|
17
|
+
<meta charset="utf-8">
|
18
|
+
<title>test</title>
|
19
|
+
<link rel="stylesheet" type="text/css" href="test.css">
|
20
|
+
</head>
|
21
|
+
<body>
|
14
|
-
<section style="column-count: 2">
|
22
|
+
<section style="column-count: 2">
|
15
|
-
|
23
|
+
<ol>
|
16
|
-
|
24
|
+
<li>ちくわ</li>
|
17
|
-
|
25
|
+
<li>大根</li>
|
26
|
+
<li>ちくわ</li>
|
18
|
-
|
27
|
+
<li>大根</li>
|
28
|
+
<li>ちくわ</li>
|
29
|
+
<li>大根</li>
|
30
|
+
<li>ちくわ</li>
|
31
|
+
<li>大根</li>
|
32
|
+
<li>ちくわ</li>
|
33
|
+
<li>大根</li>
|
34
|
+
<li>ちくわ</li>
|
19
|
-
|
35
|
+
</ol>
|
20
|
-
</section>
|
36
|
+
</section>
|
37
|
+
</body>
|
38
|
+
</html>
|
21
39
|
```
|
22
40
|
|
23
41
|
```css
|
2
scssをcssに修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -20,29 +20,30 @@
|
|
20
20
|
</section>
|
21
21
|
```
|
22
22
|
|
23
|
-
```
|
23
|
+
```css
|
24
|
-
ol{
|
24
|
+
ol {
|
25
|
-
$size: 25px;
|
26
|
-
|
25
|
+
counter-reset: list;
|
27
|
-
|
26
|
+
min-width: 150px;
|
28
|
-
li {
|
29
|
-
position: relative;
|
30
|
-
height: $size;
|
31
|
-
line-height: $size;
|
32
|
-
margin: 0 0 15px $size;
|
33
|
-
padding-left: 5px;
|
34
|
-
}
|
35
|
-
li:before {
|
36
|
-
counter-increment: list;
|
37
|
-
content: counter(list, upper-alpha);
|
38
|
-
position: absolute;
|
39
|
-
left: -$size;
|
40
|
-
width: $size;
|
41
|
-
height: $size;
|
42
|
-
line-height: $size;
|
43
|
-
background: $blue;
|
44
|
-
text-align: center;
|
45
|
-
color: #eee;
|
46
|
-
}
|
47
27
|
}
|
28
|
+
|
29
|
+
ol li {
|
30
|
+
position: relative;
|
31
|
+
height: 25px;
|
32
|
+
line-height: 25px;
|
33
|
+
margin: 0 0 15px 25px;
|
34
|
+
padding-left: 5px;
|
35
|
+
}
|
36
|
+
|
37
|
+
ol li:before {
|
38
|
+
counter-increment: list;
|
39
|
+
content: counter(list, upper-alpha);
|
40
|
+
position: absolute;
|
41
|
+
left: -25px;
|
42
|
+
width: 25px;
|
43
|
+
height: 25px;
|
44
|
+
line-height: 25px;
|
45
|
+
background: #36479f;
|
46
|
+
text-align: center;
|
47
|
+
color: #eee;
|
48
|
+
}
|
48
49
|
```
|
1
画像が入ってなかった
title
CHANGED
File without changes
|
body
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
###発生している問題・エラーメッセージ
|
8
8
|
ChromeやEdgeでは問題なく表示されるのですが、
|
9
9
|
IEだと以下の画像のように表示されます。
|
10
|
-
(
|
10
|
+

|
11
11
|
|
12
12
|
###該当のソースコード
|
13
13
|
```html
|