-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathsignup.html
More file actions
109 lines (104 loc) · 3.47 KB
/
signup.html
File metadata and controls
109 lines (104 loc) · 3.47 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>signUp</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="image/logo.png">
<style>
body{
margin: 0px;
padding: 0;
font-family: sans-serif,Arial, Helvetica, sans-serif;
background: rgb(102, 101, 101);
}
.box{
display: block;
background: rgb(143, 145, 148);
width: 400px;
padding: 20px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
border-radius: 10px;
box-shadow: 7px 7px 20px rgb(56, 56, 56);
}
img{
padding: 10px 20px;
}
h1{
position: absolute;
top: 20px;
left: 170px;
font-weight: lighter;
}
.leftitem{
display: inline-block;
width: 100px;
padding: 25px 20px;
}
.rightitem{
display: inline-block;
color: whitesmoke;
width: 200px;
height: 30px;
background: none;
border: 2px solid goldenrod;
border-radius: 5px;
}
.box input[type="button"]{
display: block;
margin: auto;
padding: 10px 20px;
background: none;
border: 2px solid goldenrod;
border-radius: 10px;
transition: padding .3s;
}
.box input[type="button"]:hover{
color: #004068;
padding: 10px 30px;
cursor: pointer;
background: goldenrod;
}
#bottomlink{
text-decoration: none;
font-size: 14px;
}
#bottomlink:hover{
font-size: 16px;
color: #004068;
}
.dropitem{
color: black;
background: rgb(208, 213, 228);
}
</style>
</head>
<body>
<form class="box" action="#">
<div id="top">
<a href="index.html"><img src="image/logo.png" alt="college logo" width="50px" height="70px"></a>
<h1>SignUp</h1>
</div>
<label class="leftitem" for="firstname">First Name</label>
<input class="rightitem" type="text" name="firstname" required> <br>
<label class="leftitem" for="lastname">Last Name</label>
<input class="rightitem" type="text" name="lastname"> <br>
<label class="leftitem" for="email">Email</label>
<input class="rightitem" type="email" name="email" required> <br>
<label class="leftitem" for="usertype">User Type</label>
<select class="rightitem" name="usertype" id="utype">
<option class="dropitem" value="Parent">Faculty</option>
<option class="dropitem" value="Faculty">Parent</option>
<option class="dropitem" value="Student">Student</option>
</select> <br>
<label class="leftitem" for="password" >Password</label>
<input class="rightitem" type="password" name="password" required>
<input type="button" name="submit" value="SignUp">
<a id="bottomlink" href="login.html">Already a user</a>
</form>
</body>
</html>