-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (58 loc) · 1.16 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
59
60
61
62
63
64
65
66
67
68
69
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
body{
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background: #4ecb81;
}
.wrapper{
width: 500px;
background: #fff;
border-radius: 7px;
padding: 20px 25px 15px;
}
header h1{
font-size: 27px;
font-weight: 500;
}
header p{
font-size: 18px;
margin-top: 5px;
}
form{
margin: 20px 0 27px;
}
form input{
width: 100%;
height: 60px;
outline: none;
border: 1px solid #b3b2b2;
border-radius: 5px;
font-size: 19px;
padding: 0 17px;
}
form button{
opacity: 0.7;
width: 100%;
border: none;
outline: none;
background: #a26d30;
color: #fff;
padding: 15px 0;
margin-top: 20px;
border-radius: 5px;
cursor: pointer;
font-size: 17px;
pointer-events: none;
}
form input:valid ~ button{
opacity: 1;
pointer-events: auto;
}