-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
118 lines (103 loc) · 4.24 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
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
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Radio Button ans select with strikethrough</title>
<!-- Include FontAwesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.0/css/all.min.css">
<link rel="stylesheet" href="./dev/all.css">
</head>
<body>
<h1>Radio Buttons</h1>
<h2>Without Strikethrouhg</h2>
<div style="display:flex;flex-direction:column;">
<div>
<input id="1" type="radio" class="fa-check" name="myRadioGroup"> <label for="1">Without Border</label>
</div>
<div>
<input id="6" type="radio" class="fa-check" style="background-color:#dddddd;" name="myRadioGroup"> <label for="6">Without Border with color</label>
</div>
<div>
<input id="2" type="radio" class="fa-check border" name="myRadioGroup"> <label for="2">With Border</label>
</div>
<div>
<input id="3" type="radio" class="fa-check border radius" name="myRadioGroup"> <label for="3">With Border Radius</label>
</div>
</div>
<h2>With Strikethrough</h2>
<div style="display:flex;flex-direction:column;">
<div>
<input id="rs1" type="radio" class="fa-check" name="myRadioGroup"><label for="rs1" class="strike">Milk</label>
</div>
<div>
<label class="strike">
<input id="rs6" type="radio" class="fa-check" style="background-color:#dddddd;" name="myRadioGroup">
Bread
</label>
</div>
<div>
<input id="rs2" type="radio" class="fa-check" name="myRadioGroup"> <label for="rs2" class="strike">Apples</label>
</div>
</div>
<h1>CheckBoxes</h1>
<h2>Without Strikethrough</h2>
<div style="display:flex;flex-direction:column;">
<div>
<input id="ck1" type="checkbox" class="fa-check" name="myRadioGroup"> <label for="ck1">Without Border</label>
</div>
<div>
<input id="ck2" type="checkbox" class="fa-check border" name="myRadioGroup"> <label for="ck2">With Border</label>
</div>
<div>
<input id="ck3" type="checkbox" class="fa-check border radius" name="myRadioGroup"> <label for="ck3">With Border Radius</label>
</div>
</div>
<h2>With Strikethrough</h2>
<div style="display:flex;flex-direction:column;">
<div>
<input id="cks1" type="checkbox" class="fa-check" name="myRadioGroup"><label for="cks1" class="strike">Milk</label>
</div>
<div>
<label class="strike">
<input id="cks6" type="checkbox" class="fa-check" style="background-color:#dddddd;" name="myRadioGroup">
Bread
</label>
</div>
<div>
<input id="cks2" type="checkbox" class="fa-check" name="myRadioGroup"> <label for="cks2" class="strike">Apples</label>
</div>
</div>
<h1>Select (only select with multiple attribute supported)</h1>
<h2>Without Strikethrough</h2>
<div style="display:flex;flex-direction:column;">
<h3>Using fa-square-check</h3>
<select class="fa-square-check" multiple>
<option selected>Option 1</option>
<option selected>Option 2</option>
<option>Option 3</option>
</select>
<h3>Using fa-square-check</h3>
<select class="fa-check" multiple>
<option selected>Option 1</option>
<option selected>Option 2</option>
<option>Option 3</option>
</select>
</div>
<h2>With strikethrough</h2>
<div style="display:flex;flex-direction:column;">
<h3>Selected with Strikethrough</h3>
<select class="strike" multiple>
<option selected>Option 1</option>
<option selected>Option 2</option>
<option>Option 3</option>
</select>
<h3>Unselected With strikethrough</h3>
<select class="strike-opposite" multiple>
<option selected>Option 1</option>
<option selected>Option 2</option>
<option>Option 3</option>
</select>
</div>
</body>
</html>