-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathform.html
More file actions
63 lines (61 loc) · 1.51 KB
/
form.html
File metadata and controls
63 lines (61 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login Form</title>
<style>
body {
background: #8e24aa;
}
.login-box {
width: 350px;
background: white;
margin: 100px auto;
}
.login-box h2 {
background: #5e0075;
color: white;
padding: 20px;
}
.login-box form {
padding: 20px;
}
.input-box {
margin-bottom: 20px;
}
.input-box input {
width: 100%;
padding: 10px;
box-sizing: border-box;
}
button {
width: 40%;
padding: 10px;
background: #5e0075;
color: white;
cursor: pointer;
margin-bottom: 10px;
}
.forgot {
padding: 20px;
color: #5e0075;
font-size: 14px;
}
</style>
</head>
<body>
<div class="login-box">
<h2>Login Form</h2>
<form>
<div class="input-box">
<input type="text" placeholder="Email or Username">
</div>
<div class="input-box">
<input type="password" placeholder="Password">
</div>
<button type="submit">Sign in</button>
<a href="#" class="forgot">Forgot Password?</a>
</form>
</div>
</body>
</html>