-
Notifications
You must be signed in to change notification settings - Fork 0
/
glasslogin.html
166 lines (145 loc) · 3.4 KB
/
glasslogin.html
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glassmorphism Login Form | Hate Company</title>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/all.css">
<style>
:root{
font-family: "Raleway", sans-serif;
font-size: 16px;
font-weight: 400;
}
:focus{
outline: none;
}
*{
margin: 0;
box-sizing: border-box;
}
body{
position: relative;
display: grid;
justify-content: center;
align-items: center;
min-height: 100vh;
background-image: linear-gradient(to bottom right, #515bd4, #8134af, #dd2a7b);
color: #fff;
}
body::before,
body::after{
position: absolute;
transform: translate(-50%, -50%);
background-color: rgba(255, 255, 255, .1);
border: 1px solid rgba(255, 255, 255, .2);
border-radius: 1rem;
backdrop-filter: blur(5px);
box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .2);
}
body::before{
top: 55%;
left: 66%;
width: 125px;
height: 125px;
}
body::after{
top: 22%;
left: 35%;
width: 75px;
height: 75px;
}
.bg-glass{
background-color: rgba(255, 255, 255, .1);
border: 1px solid rgba(255, 255, 255, .2);
border-radius: 1rem;
backdrop-filter: blur(5px);
box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, .2);
}
.form{
width: 400px;
padding: 2.5rem 2.25rem;
text-align: center;
}
.profile{
display: grid;
justify-content: center;
align-items: center;
width: 95px;
height: 95px;
margin: 0 auto 3rem;
font-size: 2rem;
border-radius: 50%;
}
.input{
display: block;
width: 100%;
margin-top: 1.5rem;
padding: .625rem 1.375rem;
font-family: "Raleway", sans-serif;
font-size: 1rem;
color: #fff;
border-radius: 9999px;
transition: box-shadow .25s;
}
.input::placeholder{
color: rgba(255, 255, 255, .5);
}
.input:focus{
box-shadow: 3px 3px 20px 0 rgba(245, 133, 41, .2);
}
.button{
display: block;
margin: 2.5rem auto 0;
padding: .75rem 3rem;
font-family: "Raleway", sans-serif;
font-size: .875rem;
font-weight: 500;
text-align: center;
letter-spacing: .5px;
background-color: #f58529;
color: #fff;
border-radius: 9999px;
cursor: pointer;
transition: background-color .25s;
}
.button:hover{
background-color: rgba(255, 255, 255, .1);
backdrop-filter: blur(5px);
}
.register{
margin-top: 1.5rem;
font-size: .875rem;
}
.register a {
font-weight: 500;
text-decoration: none;
color: rgba(255, 255, 255, .75);
transition: color .25s;
}
.register a:hover {
text-decoration: underline;
color: #fff;
}
</style>
</head>
<body>
<div class="form bg-glass">
<div class=""><img class="register" src="./Group 28.png"><br>
<h1> Login</h1></div>
<br>
<div class="profile bg-glass">
<i class="fas fa-user"></i>
</div>
<form action="/login.php">
<input type="text" class="input bg-glass" placeholder="Username" required>
<input type="password" class="input bg-glass" placeholder="Password" required>
<button type="submit" class="button bg-glass">Login</button><br>
<input type="checkbox" checked="checked" name="remember"> Remember me
<p class="register">Don't have an account? <a href="">Register</a></p>
<p class="register"><a href="">Password Recovery</a></p>
</div>
</form>
</body>
</html>