回答編集履歴
1
追記
test
CHANGED
@@ -31,3 +31,41 @@
|
|
31
31
|
動作サンプル
|
32
32
|
|
33
33
|
[https://jsfiddle.net/vt2h9221/](https://jsfiddle.net/vt2h9221/)
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
----
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
【追記】
|
42
|
+
|
43
|
+
```CSS
|
44
|
+
|
45
|
+
h2 {
|
46
|
+
|
47
|
+
border-bottom: 3px solid #ccc;
|
48
|
+
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
h2 span {
|
54
|
+
|
55
|
+
border-bottom: 3px solid #191970;
|
56
|
+
|
57
|
+
display: inline-block;
|
58
|
+
|
59
|
+
position: relative;
|
60
|
+
|
61
|
+
bottom: -3px;
|
62
|
+
|
63
|
+
}
|
64
|
+
|
65
|
+
```
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
動作サンプル2
|
70
|
+
|
71
|
+
[https://jsfiddle.net/vt2h9221/1/](https://jsfiddle.net/vt2h9221/1/)
|