-
Notifications
You must be signed in to change notification settings - Fork 0
/
login-form.html
66 lines (66 loc) · 1.38 KB
/
login-form.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
h1 {
text-align: center;
}
body {
font-family: Arial, Helvetica, sans-serif;
display: grid;
min-height: 100vh;
grid-template-areas:
". . ."
". form ."
". . .";
background-color: #f2e9e4;
}
form {
grid-area: form;
width: 960px;
background-color: white;
padding: 2em;
border-radius: 10px;
}
form > div {
grid-template-columns: 4fr 6fr;
display: grid;
}
form > div input {
justify-self: start;
border-radius: 5px;
}
form > div label {
align-self: center;
justify-self: center;
}
form button {
grid-column: 2/2;
justify-self: start;
}
input {
padding: 10px;
margin: 10px 0;
}
</style>
</head>
<body>
<form>
<h1>LOGIN PAGE</h1>
<div>
<label>Username</label>
<input type="text" name="username" />
</div>
<div>
<label>Password</label>
<input type="text" name="username" />
</div>
<div>
<button>Login</button>
</div>
</form>
</body>
</html>