-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
86 lines (75 loc) · 1.34 KB
/
index.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
width: 100vw;
height: 100vh;
background-color: #f9f9f5;
display: flex;
justify-content: center;
align-items: center;
}
.container{
background-color: #fff;
width : 400px;
border-radius: 5px;;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
h2{
text-align: center;
padding: 10px 20px;;
}
.container form{
padding: 20px 40px;
}
.form-handler{
margin-bottom: 10px;
padding-bottom: 10px;
position: relative;
}
.form-handler label{
display: block;
color: rgba(156, 163, 175,1);
font-size: 18px;
margin-bottom: 5px;
}
.form-handler input{
display: block;
font-size: 18px;
margin-bottom: 8px;
padding: 2px;
border: 2px solid #f0f0f0;
width: 100%;
border-radius: 5px;
}
.form-handler input:focus{
outline: none;
border-color: #777;
}
.form-handler.success input{
border-color: #2ecc71;
}
.form-handler.error input{
border-color: #e74;
}
.form-handler small{
position:absolute;
left: 0;
bottom : 0;
color: #e74;
visibility: hidden;
}
.form-handler.error small{
visibility: visible;
}
.form-handler button{
background-color: #3498db;
border-radius: 5px;
font-size: 16px;
width: 100%;
/* margin: 10px; */
padding:5px;
color: #fff;
}