"Long Inline Form"
Bootstrap 3.1.0 Snippet by nandiraju

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="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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 ---------->
<section>
<div class="container">
<div class="row">
<form action="#" class="form-inline lead-big" role="form">
<div class="form-group">
<label for="name">Hello, I am <span>Your name</span></label>
<input type="text" id="name" placeholder="@maridlcrmn" required>
and
</div>
<div class="form-group">
<label for="company"> I work in <span>Your company</span></label>
<input type="text" id="company" placeholder="Awesome Company">
.
</div>
<div class="form-group">
<label for="freelancer"> I'm looking for <span>Freelance professional</span></label>
<select id="freelancer">
<option value="0" selected>Someone</option>
<option value="1">Frontend Developer</option>
<option value="2">Backend Developer</option>
<option value="3">UI/UX Designer</option>
<option value="4">Graphic Designer</option>
<option value="5">Web designer</option>
</select>
who
</div>
<div class="form-group">
<label for="subject"> can help me in <span>Describe your project</span></label>
<textarea id="subject" placeholder="big amazing project" required></textarea>
and
</div>
<div class="form-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
section {
padding: 100px 0;
background-color: #f0f0f0;
text-align: center;
}
.lead-big {
font-size: 28px;
line-height: 48px;
color: #999;
}
.form-inline input,
.form-inline textarea,
.form-inline select {
max-width: 235px;
height: 40px;
overflow: hidden;
line-height: 40px;
background-color: transparent;
border: none;
border-bottom: 1px dotted;
vertical-align: text-bottom;
cursor: pointer;
}
.form-inline .form-group label {
position: relative;
}
.form-inline .form-group label > span {
position: absolute;
top: -25px;
left: 0;
font-size: 12px;
color: #bdc3c7;
opacity: 1;
}
.submit.btn.btn-lg {
font-size: 28px;
color: #999;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: