-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlabtask2.html
More file actions
101 lines (82 loc) · 2.42 KB
/
Copy pathlabtask2.html
File metadata and controls
101 lines (82 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=2.0">
<title>Login Interface</title>
<style>
body {
font-family: 'Times New Roman', Times, serif, sans-serif;
background-color: #dae3f4;
display: grid;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.container {
width: 320px;
background-color: #7194d1;
border-radius: -5px;
box-shadow: 0 4px 12px rgba(8, 8, 8, 0.18);
padding: 20px;
h2 {
text-align: center;
color: #06080a;
margin: 0 0 18px 0;
font-size: 22px;
}
label {
display: block;
margin-bottom: 6px;
color: #000000;
font-weight: bold;
font-size: 14px;
}
input[type="email"],
input[type="password"] {
width: 100%;
padding: 8px;
margin-bottom: 12px;
border: 1px solid #191a1b;
border-radius: 5px;
box-sizing: border-box;
font-size: 14px;
background-color: #fff;
color: #000;
}
.button-area {
text-align: right;
margin-top: 6px;
}
.login-btn {
background-color: #7194d1;
color: rgb(27, 26, 26);
border: 2px solid black;
padding: 10px 18px;
border-radius: 5px;
cursor: pointer;
font-size: 14px;
}
.login-btn:hover {
background-color: #5c7bb5;
}
(max-width: 200px)
{
.container { width: 100%; padding: 16px; }
}
</style>
</head>
<body>
<div class="container">
<label for="email">Email</label>
<input type="email" id="email" required>
<label for="password">Password</label>
<input type="password" id="password" required>
<div class="button-area">
<button type="submit" class="login-btn">Login</button>
</div>
</form>
</div>
</body>
</html>