"SendGrid Input Style"
Bootstrap 3.0.0 Snippet by kneeki

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="input-text-wrap is-full-width" style="" role="phoneContainer">
<label class="input-text-label" for="phoneContainer-input-id" role="label">
Phone Number
</label>
<input class="input-text" data-field="" id="phoneContainer-input-id" type="text" role="input" value="5095908734" maxlength="">
<span class="input-info danger hidden" role="error">
</span>
<span class="input-info hidden" role="info">
</span>
</div>
</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
.input-text-wrap [type="text"],
.input-text-wrap [type="password"],
.input-text-wrap [type="number"],
.input-text-wrap [type="email"],
.input-text-wrap [type="tel"] {
font-family: "Proxima Nova", Helvetica, sans-serif;
font-style: normal;
font-weight: 300;
display: block;
width: 100%;
padding: 0;
font-size: 13px;
line-height: 24px;
color: #294661;
background-color: transparent;
border: 0;
border-bottom: 1px solid #d4dadf;
box-shadow: transparent 0 1px 0;
transition: 0.3s border-color, 0.3s box-shadow;
}
.input-text-wrap[type="text"]:focus,
.input-text-wrap[type="password"]:focus,
.input-text-wrap[type="number"]:focus,
.input-text-wrap[type="email"]:focus,
.input-text-wrap[type="tel"]:focus {
border-color: #1a82e2;
box-shadow: #1a82e2 0 1px 0;
}
.input-text-label {
position: absolute;
top: 18px;
display: inline-block;
font-size: 13px;
line-height: 18px;
pointer-events: none;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: