-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 1.43 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>发光复选框</title>
<link rel="stylesheet" href="style.css" />
<!-- 导入外部图标库 -->
<!-- 搜索font awesome cdn 按照上面的样式名复制就有图标-->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
</head>
<body>
<ul class="ulClass">
<li>
<label>
<input type="checkbox" name="" />
<div class="icon">
<i class="fa fa-diamond" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="" />
<div class="icon">
<i class="fa fa-comments-o" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="" />
<div class="icon">
<i class="fa fa-heart-o" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="" />
<div class="icon">
<i class="fa fa-phone-square" aria-hidden="true"></i>
</div>
</label>
</li>
<li>
<label>
<input type="checkbox" name="" />
<div class="icon">
<i class="fa fa-music" aria-hidden="true"></i>
</div>
</label>
</li>
</ul>
</body>
</html>