-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask6CSS.html
More file actions
115 lines (84 loc) · 2.45 KB
/
task6CSS.html
File metadata and controls
115 lines (84 loc) · 2.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>task6CSS</title>
<style>
.imgcontainer {
text-align: center;
margin-bottom: 20px;
margin-left: 10%;
margin-right: 10%;
margin-top: 7vh;
}
.src {
width: 30%;
border-radius: 50%;
margin-top: 3vh;
}
.container {
display: flex;
flex-direction: column;
margin-left: 20%;
margin-right: 20%;
color: #292121;
}
input[type=text],
input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
margin-bottom: 20px;
}
button {
background-color: rgb(59, 190, 79);
padding: 10px;
font-weight: bold;
transition: background-color 0.3s;
border: none;
color: rgb(255, 255, 255);
}
button:hover {
background-color: rgb(35, 215, 235);
}
label {
margin-bottom: 5px;
}
input[type=checkbox] {
margin-top: 10px;
}
.footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 40px;
}
.right {
text-align: right;
}
</style>
</head>
<body>
<form>
<div class="imgcontainer">
<img src="zen picture.jpeg" alt="" class="src">
</div>
<div class="container">
<label for="uname"><b>Username</b></label>
<input type="text" placeholder="username" required>
<label for="uname"><b>Password</b></label>
<input type="password" placeholder="password" required>
<button type="submit">Login</button>
<label><input type="checkbox" name="" id=""> Remember me</label>
<div class="footer">
<button style="background-color: red; border-radius: 5px ;">Cancel</button>
<label class="right"><span>Forgot <a href="#">password?</a></span></label>
</div>
</div>
</form>
</body>
</html>