-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (48 loc) · 1.42 KB
/
index.html
File metadata and controls
48 lines (48 loc) · 1.42 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="How to design radio, checkbox and toggle switch using html and css" />
<title>Custom Checkbox, Radio and Toggle Switch design</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<section class="first_sect">
<div class="container">
<div class="first_sect_inn">
<div class="customcheckbox_main_wrp">
<label class="custcheckwrp">
<input type="checkbox" name="testcheck" id="testcheck" checked />
<span class="tickmark"><img src="Images/right_tick.svg"></span>
Checkbox
</label>
</div>
<div class="custradiowrp">
<label>
<input type="radio" name="testradio" value="Yes" checked />
<span class="radiomark"></span>
Yes
</label>
<label>
<input type="radio" name="testradio" value="No" />
<span class="radiomark"></span>
No
</label>
</div>
<div class="custswitchwrp">
<label class="switchlabel">
<input type="checkbox" checked>
<span class="switslider"></span>
</label>
<label class="switchlabel roundswitchlabel">
<input type="checkbox">
<span class="switslider"></span>
</label>
</div>
</div>
</div>
</section><!-- end of first_sect -->
</body>
</html>