forked from probots-io/floatlabels.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo.css
53 lines (45 loc) · 1.17 KB
/
demo.css
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.floatlabel-wrapper {
position: relative;
display: inline-block;
}
.floatlabel-wrapper .floatlabel-label {
position: absolute;
left: 8px;
font-size: 11px;
color: #2996cc;
z-index: 9999;
-webkit-transition: all 1.2s ease-in-out;
-moz-transition: all 1.2s ease-in-out;
-o-transition: all 1.2s ease-in-out;
-ms-transition: all 1.2s ease-in-out;
transition: all 1.2s ease-in-out;
}
.floatlabel-wrapper .floatlabel-label.floatlabel-label-focus {
color: #838780;
}
.floatlabel-wrapper .floatlabel-label-inactive {
display: none;
top: 0;
-moz-opacity: 0;
-khtml-opacity: 0;
-webkit-opacity: 0;
opacity: 0;
}
.floatlabel-wrapper .floatlabel-label-active {
display: inline-block;
top: 6px;
-moz-opacity: 1;
-khtml-opacity: 1;
-webkit-opacity: 1;
opacity: 1;
}
.floatlabel-wrapper input.floatlabel-input {
-webkit-transition: all 1.2s ease-in-out;
-moz-transition: all 1.2s ease-in-out;
-o-transition: all 1.2s ease-in-out;
-ms-transition: all 1.2s ease-in-out;
transition: all 1.2s ease-in-out;
}
.floatlabel-wrapper input.floatlabel-input-slide {
padding-top: 20px !important;
}