-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjs_task6.html
95 lines (95 loc) · 2.91 KB
/
js_task6.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
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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JS Task 6</title>
<style>
body {
display: grid;
place-content: center;
}
.form {
width: 25rem;
min-height: 30rem;
min-width: fit-content;
background-color: #f7f7f7;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
}
.wrapper {
display: flex;
height: 100%;
flex-direction: column;
align-items: center;
justify-content: center;
row-gap: 3px;
}
a {
text-decoration: none;
color: #0c7ff6;
}
.username input, .password input {
padding: 7px;
width: 15rem;
height: 3rem;
border: 1px solid whitesmoke;
}
.username, .password {
/* height: 3rem; */
display: flex;
align-items: center;
}
.primary {
border: none;
box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
color: white;
background-color: #0c7ff6;
font-size: large;
text-align: center;
width: 100%;
border-radius: 5px;
width: 17rem;
height: 3rem;
}
.rememberforgot {
width: 17rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.register {
width: 25rem;
text-align: center;
}
</style>
</head>
<body>
<div class="form">
<div class="wrapper">
<div class="logo">
<h1><em>Instagram</em></h1>
</div>
<div class="username">
<img src="https://img.icons8.com/?size=512&id=23265&format=png" height="35px">
<input type="text" placeholder="Username" required>
</div>
<div class="password">
<img src="https://img.icons8.com/?size=512&id=2862&format=png" height="35px">
<input type="password" placeholder="Password" required>
</div>
<button class="primary">Log in</button>
<div class="rememberforgot">
<div class="remmbermeCB">
<input type="checkbox" id="rememberme" name="rememberme" value="Bike">
<label for="rememberme">Remember me</label>
</div>
<div class="forgotpassword">
<a>Forgot Password?</a>
</div>
</div>
</div>
</div>
<div class="register">
<p>Don't have an account? <a>Sign up here</a></p>
</div>
</body>
</html>