"Two column form"
Bootstrap 3.3.0 Snippet by Salehin

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/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="inner contact">
<!-- Form Area -->
<!-- Form -->
<form id="contact-us" method="post" action="#">
<!-- Left Inputs -->
<div class="col-sm-6 col-xs-12 big-gutter" data-wow-delay=".5s">
<!-- Business Name -->
<div class="form-group">
<div class="text-effect"> <span>Business Name</span>
<input type="text" autocomplete="off" class="form-control focus-text field-input" />
</div>
</div>
<div class="form-group">
<div class="text-effect"> <span>Address</span>
<input type="text" autocomplete="off" class="form-control focus-text field-input" />
</div>
</div>
<div class="row">
<div class="col-sm-6 col-xs-12">
<!-- City -->
<div class="form-group">
<div class="text-effect"> <span>City</span>
<input type="text" autocomplete="off" class="form-control focus-text field-input" />
</div>
</div>
</div>
<div class="col-sm-6 col-xs-12">
<div class="form-group">
<select class="field-select form-control">
<option value="" disabled selected>State</option>
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
/*---------------Listing start--------------------*/
.list-group-flex{
display: flex;
align-items: center;
justify-content:flex-start;
background: #f0f0f0;
font-weight:600;
font-family: 'Roboto', sans-serif;
margin-bottom:0;
border-bottom:1px solid #fff;
}
.btn-compitetor{color:#111;padding:14px 0;font-family: 'Roboto', sans-serif;font-size: 15px;}
.list-group-flex .left-side{padding:30px 32px;background:#e5e5e5;position:relative;}
.list-group-flex .right-side{padding-left:30px;}
.list-group-flex .listing-title{font-weight:600;}
.listing-detials ul li{padding-right:60px;font-weight: 400;font-size: 1.65rem;}
.listing-detials ul li i{color: #0265c0;font-size: 1.6rem;margin-right: 5px;}
input[type="checkbox"] {
position: absolute;
opacity: 0;
cursor: pointer;
}
.checkmark {
position: relative;
top: 0;
left: 0;
height: 22px;
width: 22px;
background-color: #fff;
border: 2px solid #111;
padding: 0 7px;
}
input:checked ~ .checkmark {
background-color: #0265c0;
border:2px solid #0265c0;
}
.checkmark:after {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
$(document).ready(function () {
$('.focus-text').focus(function(){
$(this).closest('div').addClass('focus-t');
})
$('.focus-text').blur(function(){
if($('.focus-text').length > 0 && $('.focus-text').val() != '1'){
$(this).closest('div').addClass('focus-t');
}
else{
$(this).closest('div').removeClass('focus-t');
}
})
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: