-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
130 lines (112 loc) · 1.83 KB
/
styles.css
File metadata and controls
130 lines (112 loc) · 1.83 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: sans-serif;
}
.main {
width: 350px;
height: 480px;
background: rgb(0, 48, 99);
overflow: hidden;
border-radius: 10px;
box-shadow: 5px 30px 50px black;
}
#chk {
display: none;
}
.signup {
position: relative;
width: 100%;
height: 100%;
}
label {
color: white;
font-size: 35px;
justify-content: center;
display: flex;
margin: 60px;
font-weight: bold;
cursor: pointer;
transition: 0.5s ease-in-out;
margin-bottom: 10px;
}
input {
width: 60%;
height: 20px;
background: white;
justify-content: center;
display: flex;
margin: 18px auto;
padding: 10px;
border: none;
outline: none;
border-radius: 50px;
}
button {
width: 60%;
height: 40px;
margin: 10px auto;
justify-content: center;
display: block;
color: white;
background: rgb(43, 83, 194);
font-size: 20px;
font-weight: bold;
margin-top: 18px;
outline: none;
border: none;
border-radius: 10px;
transition: 0.3s ease-in;
cursor: pointer;
box-shadow: 5px 20px 40px black;
}
button:hover {
background: rgb(20, 57, 105);
}
.login {
height: 460px;
background: #eee;
border-radius: 60% / 10%;
transform: translateY(-180px);
transition: 0.8s ease-in-out;
}
.login label {
color: #003063;
transform: scale(0.6);
}
.login p {
text-align: center;
padding: 20px;
}
#chk:checked ~ .login {
transform: translateY(-500px);
}
#chk:checked ~ .login label {
transform: scale(1);
}
#chk:checked ~ .signup label {
transform: scale(0.6);
}
@media only screen and (max-width: 600px) {
.main {
width: 90%;
}
.signup,
.login {
height: auto;
}
label {
font-size: 25px;
margin: 30px;
}
input {
width: 80%;
}
button {
width: 80%;
}
}