-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathformStyle.css
69 lines (63 loc) · 1.11 KB
/
formStyle.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
59
60
61
62
63
64
65
66
67
68
69
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Josefin Sans', sans-serif;
}
body{
background: rgb(165, 241, 165);
overflow: hidden;
}
.form{
width: 250px;
height: 40px;
margin:40vh auto;
position: relative;
}
.field{
position: absolute;
top:0;
left: 0;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px;
border-radius: 20px;
background: white;
}
.active{
transform: translateY(0px);
opacity: 1;
pointer-events: all;
transition: all 0.5s ease-in-out;
}
.inactive{
transform: translateY(50px);
opacity: 0;
pointer-events: none;
transition: all 0.5s ease-in-out;
}
input{
outline: none;
border: none;
margin: 5px;
font-size:20px;
}
.thanks-field{
width: 250px;
height: 40px;
}
.fa-arrow-down{
cursor: pointer;
}
@keyframes rotateField{
0%{
transform: rotate(0deg);
}
50%{
transform: rotate(45deg);
}
100%{
transform: rotate(0deg);
}
}