"Pure CSS Select radio buttons"
Bootstrap 4.1.1 Snippet by webcoderskull

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container py-5">
<div class="row">
<div class="col-lg-6">
<div class="row">
<div class="col-12">
<h3>Project Type*</h3>
</div>
</div>
<ul>
<li>
<input type="radio" id="new-Website" name="ProjectType">
<label for="new-Website">New Website</label>
<div class="check"></div>
</li>
<li>
<input type="radio" id="wr-wcs" name="ProjectType">
<label for="wr-wcs">Website Redesign</label>
<div class="check"></div>
</li>
<li>
<input type="radio" id="g-wcs" value="Graphic Design & Branding" name="ProjectType">
<label for="g-wcs">Graphic Design & Branding</label>
<div class="check"></div>
</li>
<li>
<input type="radio" id="e-wcs" value="E-Commerce" name="ProjectType">
<label for="e-wcs">E-Commerce</label>
<div class="check"></div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
body, html{
height: auto;
background: #f84034;
background: -moz-linear-gradient(-45deg,#f84034 0,#f3167b 100%);
background: -webkit-linear-gradient(-45deg,#f84034 0,#f3167b 100%);
background: linear-gradient(135deg,#f84034 0,#f3167b 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f84034', endColorstr='#f3167b', GradientType=1);
}
h3{
color:#fff;
padding:10px;
border:5px solid #fff;
margin-bottom:0;
}
.container ul{
border:5px solid #fff;
position:relative;
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
}
ul li{
color: #fff;
display: block;
position: relative;
float: left;
width: 100%;
height: auto;
border-bottom: 1px solid #fff;
}
ul li input[type=radio]{
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: