-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Expand file tree
/
Copy pathstyle.css
More file actions
96 lines (84 loc) · 1.6 KB
/
style.css
File metadata and controls
96 lines (84 loc) · 1.6 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
height: 100vh;
background: radial-gradient(circle at top right, #2b1055, #7597de);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.container {
position: relative;
width: 100%;
max-width: 400px;
padding: 2rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 1rem;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(15px);
}
.login-box h2 {
color: #fff;
text-align: center;
margin-bottom: 2rem;
font-weight: 600;
}
.input-box {
position: relative;
margin: 20px 0;
}
.input-box input {
width: 100%;
padding: 12px 10px;
background: transparent;
border: none;
border-bottom: 2px solid #fff;
color: #fff;
outline: none;
font-size: 1rem;
}
.input-box label {
position: absolute;
top: 12px;
left: 10px;
color: #ccc;
pointer-events: none;
transition: 0.3s;
}
.input-box input:focus ~ label,
.input-box input:valid ~ label {
top: -10px;
color: #fff;
font-size: 0.85rem;
}
.btn {
width: 100%;
background: linear-gradient(90deg, #667eea, #764ba2);
border: none;
padding: 10px;
color: #fff;
font-size: 1rem;
border-radius: 30px;
cursor: pointer;
transition: 0.3s;
}
.btn:hover {
background: linear-gradient(90deg, #764ba2, #667eea);
transform: scale(1.03);
}
.signup {
text-align: center;
color: #eee;
margin-top: 15px;
}
.signup a {
color: #fff;
font-weight: 600;
text-decoration: none;
}