-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.html
More file actions
113 lines (103 loc) · 2.52 KB
/
signup.html
File metadata and controls
113 lines (103 loc) · 2.52 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
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sign Up</title>
<link rel="stylesheet" href="signup.css" />
<style>
:root {
--clr-primary: #006600; /* Deep Green */
--clr-primary-light: #00cc66; /* Bright Green */
--clr-secondary: #ffffff; /* White */
--font-primary: 'Poppins', sans-serif;
}
/* Body background gradient */
body {
font-family: var(--font-primary);
background: linear-gradient(135deg, var(--clr-primary-light), var(--clr-primary));
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Signup box */
.signup-container {
background: var(--clr-secondary);
padding: 2.5rem;
border-radius: 15px;
box-shadow: 0 8px 25px rgba(0,0,0,0.3);
width: 350px;
text-align: center;
}
/* Heading */
.signup-container h1 {
margin-bottom: 0.5rem;
color: var(--clr-primary);
}
/* Text under heading */
.signup-container p {
margin-bottom: 1.5rem;
color: #555;
font-size: 0.95rem;
}
/* Inputs */
.signup-container input {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 8px;
outline: none;
font-size: 1rem;
}
.signup-container input:focus {
border-color: var(--clr-primary-light);
box-shadow: 0 0 5px var(--clr-primary-light);
}
/* Buttons */
.signup-container button {
background: var(--clr-primary);
color: var(--clr-secondary);
border: none;
padding: 0.75rem;
width: 100%;
border-radius: 8px;
font-size: 1rem;
cursor: pointer;
transition: background 0.3s;
}
.signup-container button:hover {
background: var(--clr-primary-light);
}
/* Login link */
.signup-container p a {
color: var(--clr-primary);
text-decoration: none;
font-weight: bold;
}
.signup-container p a:hover {
text-decoration: underline;
}
.signup-container p a:focus {
outline: none;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="signup-container">
<h1>Create Account ✨</h1>
<p>Join us and start your journey!</p>
<form action="#" method="post">
<input type="text" placeholder="Enter your name" required />
<input type="email" placeholder="Enter your email" required />
<input type="password" placeholder="Create a password" required />
<input type="password" placeholder="Confirm your password" required />
<button type="submit">Sign Up</button>
</form>
<p>Already have an account? <a href="login.html">Login</a></p>
</div>
</body>
</html>