"Google Style Contact Form with white panel"
Bootstrap 3.3.0 Snippet by sangrai

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="col-m-12 text-center">
<h2>Google Style Contact Form with white panel</h2>
</div>
<div class="col-sm-12 custom-box">
<div class="col-md-6 col-md-offset-3">
<div class="well form-well">
<div class="well form-well">
<legend class="blue-txt text-center">Contact US</legend>
<form>
<div class="group">
<input required="" type="text">
<span class="highlight"></span>
<span class="bar"></span>
<label>Name</label>
</div>
<div class="group">
<input required="" type="text">
<span class="highlight"></span>
<span class="bar"></span>
<label>Email</label>
</div>
<div class="group">
<input required="" type="text">
<span class="highlight"></span>
<span class="bar"></span>
<label>Phone No</label>
</div>
<div class="group">
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
.form-well {
background: #fff;
border-radius: 0;
margin-bottom: 0;
border:solid 1px #ccc;
box-shadow:0 0 8px #000;
}
.form-well .form-well{
border:none;
box-shadow:none;
}
.blue-txt {
color: #0069a3;
}
.form-well legend {
font-size: 25px;
margin: 10px 0 25px;
}
.group {
position: relative;
margin-bottom: 35px;
}
input {
font-size: 18px;
padding: 5px 10px 10px 5px;
display: block;
width: 100%;
border: none;
border-bottom: 1px solid #fff;
background: transparent;
}
input:focus {
outline: none;
}
/* LABEL ======================================= */
.form-well form label {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: