-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
105 lines (100 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fitness and Wellness</title>
<style>
body {
margin: 0;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
overflow: hidden;
}
#image-background {
position: fixed;
width: 100%;
min-height: 100vh;
}
@media (max-width: 600px) {
#image-background {
width: 100%;
height: auto;
}
}
@media (min-width: 601px) and (max-width: 1200px) {
#image-background {
width: 100%;
height: auto;
}
}
.login-container {
background: linear-gradient(
to right bottom,
rgba(0, 0, 0, 0.8),
rgba(255, 255, 230, 0.5)
);
max-width: 600px;
margin: 50px auto;
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
position: relative;
z-index: 1;
}
h1,
h2 {
text-align: center;
color: rgb(195, 191, 191);
}
label {
display: block;
margin-bottom: 5px;
color: #d7d7e3;
}
input {
width: 100%;
padding: 13px;
box-sizing: border-box;
margin-bottom: 15px;
color: white;
border: none;
outline: none;
border-radius: 10px;
background-color: #29292e;
}
input[type="submit"] {
background-color: black;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
input[type="submit"]:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<img
id="image-background"
src="https://images.pexels.com/photos/1431282/pexels-photo-1431282.jpeg?auto=compress&cs=tinysrgb&w=600"
alt="Fitness Man"
/>
<div class="login-container">
<h1>Fitness and Wellness</h1>
<h2>Login</h2>
<form action="./login data storage.php" method="post">
<label for="email">Email</label>
<input type="text" id="email" name="email" required />
<label for="password">Password</label>
<input type="password" id="password" name="password" required />
<label for="age">Age</label>
<input type="text" id="age" name="age" />
<input type="submit" value="Login" />
</form>
</div>
</body>
</html>