-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
58 lines (51 loc) · 1.19 KB
/
style.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
54
55
56
57
58
html, body {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
.background {
height: 100%;
width: 100%;
background: white;
display: flex;
justify-content: center;
align-items: flex-end;
background-size: cover;
transition: background 0.4s cubic-bezier(.25,.8,.25,1);
-webkit-transition: background 0.4s cubic-bezier(.25,.8,.25,1);
-moz-transition:background 0.4s cubic-bezier(.25,.8,.25,1);
-o-transition:background 0.4s cubic-bezier(.25,.8,.25,1);
}
.cool-input {
width: 60%;
height: 50px;
line-height: 50px;
font-size: 32px;
padding-left: 10px;
padding-right: 10px;
border-radius: 5px;
transition: all 0.4s cubic-bezier(.25,.8,.25,1);
color: #282828;
font-weight: lighter;
margin-bottom:50px;
background: white;
border-color: #eee;
border: 1px solid #eee;
}
.cool-input:focus {
outline: none;
transform: translateY(-10px);
box-shadow: 0 14px 28px rgba(150,150,150,0.25), 0 10px 10px rgba(150,150,150,0.22);
}
.cool-input:hover {
background: white;
}
.background > .cool-input {
opacity: 0;
transition: all 2s cubic-bezier(.25,.8,.25,1);
}
.background > .cool-input.shown {
opacity: 1;
transition: all 0.4s cubic-bezier(.25,.8,.25,1);
}