回答編集履歴
1
修正
test
CHANGED
@@ -1,7 +1,51 @@
|
|
1
|
-
```
|
1
|
+
```html
|
2
2
|
|
3
|
+
<!DOCTYPE HTML>
|
4
|
+
|
5
|
+
<html lang="en-US">
|
6
|
+
|
7
|
+
<head>
|
8
|
+
|
9
|
+
<meta charset="UTF-8">
|
10
|
+
|
11
|
+
<title></title>
|
12
|
+
|
13
|
+
<style type="text/css">
|
14
|
+
|
3
|
-
input[type=checkbox][checked] {
|
15
|
+
input[type="checkbox"][checked] + label {
|
16
|
+
|
17
|
+
font-size: 20px;
|
18
|
+
|
19
|
+
background: #fff !important;
|
20
|
+
|
21
|
+
border-color: #C8C9CA !important;
|
22
|
+
|
23
|
+
color: #E95513 !important;
|
24
|
+
|
25
|
+
line-height: 5px;
|
26
|
+
|
27
|
+
}
|
28
|
+
|
29
|
+
</style>
|
30
|
+
|
31
|
+
</head>
|
32
|
+
|
33
|
+
<body>
|
34
|
+
|
35
|
+
<div class="demo01">
|
36
|
+
|
37
|
+
<input type="checkbox" id="demo001" /><label for="demo001">hogehoge</label>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
|
41
|
+
</body>
|
42
|
+
|
43
|
+
</html>
|
4
44
|
|
5
45
|
}
|
6
46
|
|
7
47
|
```
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
こうってみましたけど、ダメみたいですね。JavaScript 使う以外に方法はなさそうです。
|