-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
126 lines (120 loc) · 3.85 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form</title>
<style>
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
background-color: #f4f4f4;
}
.form_main {
width: 400px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #fff;
padding: 50px;
box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.062);
position: relative;
overflow: hidden;
border-radius: 15px;
}
.form_main::before {
position: absolute;
content: "";
width: 500px;
height: 500px;
background-color: rgb(209, 193, 255);
transform: rotate(45deg);
left: -270px;
bottom: 30px;
z-index: 1;
border-radius: 30px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.082);
}
.heading {
font-size: 2.5em;
color: #2e2e2e;
font-weight: 700;
margin: 10px 0 20px 0;
z-index: 2;
}
.inputContainer {
width: 100%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
}
.inputField {
width: 100%;
height: 50px;
background-color: transparent;
border: none;
border-bottom: 2px solid rgb(173, 173, 173);
margin: 15px 0;
color: black;
font-size: 1.2em;
font-weight: 500;
box-sizing: border-box;
padding-left: 30px;
}
#button {
z-index: 2;
position: relative;
width: 100%;
border: none;
background-color: #6a42ff;
height: 50px;
color: white;
font-size: 1.2em;
font-weight: 500;
letter-spacing: 1px;
margin: 15px 0;
cursor: pointer;
border-radius: 5px;
}
#button:hover {
background-color: #5a36cc;
}
</style>
</head>
<body>
<form action="/PHP_PROJECT/action_page.php" class="form_main" method="post">
<p class="heading">Login Form</p>
<div class="inputContainer">
<label for="user_id">Id:</label>
<input type="text" class="inputField" id="user_id" name="user_id" placeholder="Enter your user id:"/>
</div>
<div class="inputContainer">
<label for="name">Name:</label>
<input type="text" class="inputField" id="username" name="username" placeholder="Enter your name:"/>
</div>
<div class="inputContainer">
<label for="password">Password:</label>
<input type="password" class="inputField" id="password" name="password" placeholder="Enter your password:"/>
</div>
<div class="inputContainer">
<label for="email">Email:</label>
<input type="email" class="inputField" id="email" name="email" placeholder="Enter your email:"/>
</div>
<div class="inputContainer">
<label for="user_type">User Type:</label>
<select class="inputField" id="user_type" name="user_type" required>
<option value="" disabled selected>Select your type</option>
<option value="doctor">Doctor</option>
<option value="patient">Patient</option>
</select>
</div>
<button id="button">Login</button>
</form>
</body>
</html>