-
Notifications
You must be signed in to change notification settings - Fork 1
/
css-counter-styles-3.xhtml
109 lines (109 loc) · 2.47 KB
/
css-counter-styles-3.xhtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
<head>
<meta charset="utf-8" />
<title>CSS Counter Styles Level 3</title>
<style>
@counter-style test {
system: fixed;
symbols: "OK";
}
#counter-style-rule ol {
list-style: test;
}
.cjk-decimal ol {
list-style: cjk-decimal;
}
.lower-greek ol {
list-style: lower-greek;
}
.hiragana ol {
list-style: hiragana;
}
.hiragana-iroha ol {
list-style: hiragana-iroha;
}
.katakana ol {
list-style: katakana;
}
.katakana-iroha ol {
list-style: katakana-iroha;
}
.cjk-earthly-branch ol {
list-style: cjk-earthly-branch;
}
.cjk-heavenly-stem ol {
list-style: cjk-heavenly-stem;
}
.japanese-informal ol {
list-style: japanese-informal;
}
</style>
</head>
<body>
<h1>CSS Counter Styles Level 3</h1>
<section id="counter-style-rule">
<h2>@counter-style ルール</h2>
<ol>
<li></li>
</ol>
</section>
<section id="predefined-counter-styles">
<h2>定義済みカウンタースタイル</h2>
<section class="cjk-decimal">
<h3>cjk-decimal</h3>
<ol>
<li>箇条書き番号が「一」ならOK</li>
</ol>
</section>
<section class="lower-greek">
<h3>lower-greek</h3>
<ol>
<li>箇条書き番号が「α」ならOK</li>
</ol>
</section>
<section class="hiragana">
<h3>hiragana</h3>
<ol>
<li>箇条書き番号が「あ」ならOK</li>
</ol>
</section>
<section class="hiragana-iroha">
<h3>hiragana-iroha</h3>
<ol>
<li>箇条書き番号が「い」ならOK</li>
</ol>
</section>
<section class="katakana">
<h3>katakana</h3>
<ol>
<li>箇条書き番号が「ア」ならOK</li>
</ol>
</section>
<section class="katakana-iroha">
<h3>katakana-iroha</h3>
<ol>
<li>箇条書き番号が「イ」ならOK</li>
</ol>
</section>
<section class="cjk-earthly-branch">
<h3>cjk-earthly-branch</h3>
<ol>
<li>箇条書き番号が「子」ならOK</li>
</ol>
</section>
<section class="cjk-heavenly-stem">
<h3>cjk-heavenly-stem</h3>
<ol>
<li>箇条書き番号が「甲」ならOK</li>
</ol>
</section>
<section class="japanese-informal">
<h3>japanese-informal</h3>
<ol>
<li>箇条書き番号が「一」ならOK</li>
</ol>
</section>
</section>
</body>
</html>