-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
105 lines (88 loc) · 2.26 KB
/
index2.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
96
97
98
99
100
101
102
103
104
105
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form</title>
</head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(to right, #01A9CD, #01E5AC);
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.form-div {
width: 30em;
height: 55vh;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
padding: 23px 40px;
}
h1 {
color: #01A9CD;
}
.signup {
display: flex;
flex-direction: column;
width: 100%;
gap: 17px;
}
input {
width: 100%;
height: 40px;
padding: 10px;
border: none;
border-bottom: 2px solid #01A9CD;
outline: none;
}
input[type=checkbox] {
height: 20px;
width: 15px;
}
input[type=submit] {
background: linear-gradient(to right, #01A9CD, #01E5AC);
color: white;
border: none;
font-size: 17px;
}
.check-box {
display: flex;
gap: 5px;
}
.button {
width: 60%;
}
</style>
<body>
<form action="" method="POST" class="form-div">
<h1>Sign in Form.</h1>
<div class="signup">
<div class="email">
<input type="email" name="email" placeholder="Email address" id="">
</div>
<div class="password">
<input type="password" name="password" placeholder="Password" id="">
</div>
</div>
<div class="check-box">
<input type="checkbox" name="checkBox" id="">
<span>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolore dolorem aut atque molestias libero ad quasi officiis!</span>
</div>
<div class="button">
<input type="submit" name="submit" value="SIGN IN">
</div>
<p>Not registered? <span><a href="./index.html" style="color:#01A9CD; text-decoration: none;">Sign up</a></span></p>
</form>
</body>
</html>