This repository was archived by the owner on Mar 16, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss6.html
More file actions
122 lines (109 loc) · 2.22 KB
/
css6.html
File metadata and controls
122 lines (109 loc) · 2.22 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form</title>
<style>
img {
border-radius: 50%;
}
body {
font-family: sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f5bac2;
}
.container {
background-color: #cf8af8;
padding: 30px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
width: 400px;
}
h1 {
text-align: center;
margin-bottom: 20px;
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="text"],
input[type="password"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
box-sizing: border-box;
}
.checkbox {
display: flex;
align-items: center;
}
.checkbox label {
margin-right: 10px;
}
a {
color: #333;
text-decoration: none;
font-size: 12px;
display: block;
margin-top: 10px;
}
a:hover {
color: #88f583;
}
button {
display: inline-block;
padding: 10px 20px;
border: none;
border-radius: 3px;
cursor: pointer;
margin-right: 10px;
text-align: center;
font-size: 16px;
}
button:nth-child(2) {
background-color: #7ad277;
}
button:hover {
opacity: 0.8;
}
</style>
</head>
<body>
<div class="container">
<form action="#">
<h1>Login</h1>
<center><img src="image6.png" width="250" height="250"></center>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Enter Username">
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Enter Password">
</div>
<div class="form-group">
<div class="checkbox">
<label for="remember-me">
<input type="checkbox" id="remember-me" name="remember-me">
Remember me
</label>
</div>
<a href="#">Forgot password?</a>
</div>
<button type="submit">Login</button>
<button type="button">Cancel</button>
</form>
</div>
</body>
</html>