-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcss-text-decor-3.xhtml
82 lines (82 loc) · 2.29 KB
/
css-text-decor-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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja">
<head>
<meta charset="utf-8" />
<title>CSS Text Decoration Level 3</title>
<style>
.test {
margin-left: 1em;
font-size: 1.5em;
}
#text-decor-line-style-color .test {
text-decoration-line: underline;
text-decoration-style: wavy;
text-decoration-color: silver;
}
#text-underline-position .vertical-text {
writing-mode: vertical-rl;
}
#text-underline-position .test {
text-decoration: underline;
}
#text-underline-position .test .right {
text-underline-position: right;
}
#text-underline-position .test .left {
text-underline-position: left;
}
#text-emphasis .test.longhand {
text-emphasis-style: circle;
text-emphasis-color: silver;
}
#text-emphasis .test.shorthand {
text-emphasis: circle silver;
}
#text-emphasis-position .test {
text-emphasis: circle;
}
#text-emphasis-position .test.over {
text-emphasis-position: over;
}
#text-emphasis-position .test.under {
text-emphasis-position: under;
}
</style>
</head>
<body>
<h1>CSS Text Decoration Level 3</h1>
<section id="text-decor-line-style-color">
<h2>text-decoration-line, text-decoration-style, text-decoration-color プロパティ</h2>
<div class="test">The quick brown fox jumps over a lazy dog.</div>
<ul>
<li>灰色の波線のアンダーラインが引かれていればOK</li>
</ul>
</section>
<section id="text-underline-position">
<h2>text-underline-position プロパティ</h2>
<div class="test vertical-text">
<div class="right">右傍線</div>
<div class="left">左傍線</div>
</div>
<ul>
<li>右傍線・左傍線が正しく右と左に引かれていればOK</li>
</ul>
</section>
<section id="text-emphasis">
<h2>text-emphasis-color, text-emphasis-style, text-emphasis プロパティ</h2>
<div class="test longhand">圏点</div>
<div class="test shorthand">圏点</div>
<ul>
<li>上の2つとも灰色の丸い圏点が付いていればOK</li>
</ul>
</section>
<section id="text-emphasis-position">
<h2>text-emphasis-position プロパティ</h2>
<div class="test over">上圏点</div>
<div class="test under">下圏点</div>
<ul>
<li>上圏点・下圏点が正しく上と下に付いていればOK</li>
</ul>
</section>
</body>
</html>