-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (90 loc) · 2.14 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Registration Page</title>
<style>
.box{
background-color: black;
opacity: .40;
top:0px;
position: sticky;
}
.box ul li{
display: flex;
flex-direction: row;
text-align: center;
text-decoration: none;
padding: 20px 20px;
color: white;
}
.box ul li:hover{
color:black;
cursor: pointer;
}
.box ul{
display: flex;
flex-direction: row;
}
.form{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 350px;
background:transparent;
}
body{
background-image:url('Background.jpg');
}
.form h1 {
font-size: 40px;
text-align: center;
text-transform: uppercase;
margin: 40px 0;
color: royalblue;
}
.form input {
font-size: 16px;
padding: 15px 10px;
width: 100%;
border: 0;
border-radius: 5px;
outline: none;
}
.but{
padding: 20px 20px;
margin: 30px;
}
</style>
</head>
<body>
<section id="home">
<div class="box">
<ul>
<li>Home</li>
<li>About us</li>
<li>Services</li>
<li>Contact us</li>
</ul>
</div>
<form action="" class="form">
<h1>Registration Form</h1>
<div>
Name:<input type="text" placeholder="Enter your name">
</div>
<div>
Email:<input type="Email" placeholder="Enter your Email">
</div>
<div>
Password:<input type="Password" placeholder="Enter your Password">
</div>
<div>
Date:<input type="Date" placeholder="">
<button class="but">Register Now!</button>
</div>
</form>
</section>
</body>
</html>