-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.java
More file actions
176 lines (161 loc) · 5.03 KB
/
Copy pathapp.java
File metadata and controls
176 lines (161 loc) · 5.03 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Futuristic Form</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #000;
overflow: hidden;
color: #fff;
}
.background {
position: absolute;
width: 100%;
height: 100%;
background: radial-gradient(circle, #222, #000);
z-index: -2;
}
.floating-squares {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
z-index: -1;
}
.square {
position: absolute;
width: 30px;
height: 30px;
background: rgba(255, 255, 255, 0.1);
animation: float 15s infinite;
}
@keyframes float {
0% {
transform: translateY(0px);
opacity: 0.5;
}
50% {
opacity: 1;
}
100% {
transform: translateY(-100vh);
opacity: 0;
}
}
.form-container {
background: rgba(20, 20, 20, 0.95);
padding: 40px;
max-width: 500px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
text-align: center;
position: relative;
animation: fadeIn 2s ease;
}
.form-header {
font-size: 2rem;
margin-bottom: 20px;
font-weight: bold;
text-transform: uppercase;
color: #fff;
animation: glow 2s infinite alternate;
}
input[type="text"], select {
width: 100%;
padding: 12px;
margin-bottom: 15px;
border: 2px solid #444;
border-radius: 8px;
font-size: 1rem;
background: #222;
color: #fff;
transition: all 0.3s ease;
}
input[type="text"]:focus, select:focus {
border-color: #ff6f61;
box-shadow: 0 0 10px rgba(255, 111, 97, 0.5);
outline: none;
}
input[type="submit"] {
padding: 12px 20px;
border: none;
border-radius: 8px;
background: linear-gradient(135deg, #ff758c, #ff7eb3);
color: white;
font-size: 1rem;
font-weight: bold;
text-transform: uppercase;
cursor: pointer;
animation: pulse 2s infinite;
}
input[type="submit"]:hover {
background: linear-gradient(135deg, #ff5b79, #ff6a9c);
transform: scale(1.05);
}
.footer {
margin-top: 20px;
font-size: 0.9rem;
color: #888;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes glow {
from {
text-shadow: 0 0 10px #ff758c;
}
to {
text-shadow: 0 0 20px #ff7eb3;
}
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
</style>
</head>
<body>
<div class="background"></div>
<div class="floating-squares">
<div class="square" style="top: 80%; left: 20%; animation-duration: 12s; animation-delay: -2s;"></div>
<div class="square" style="top: 60%; left: 40%; animation-duration: 10s; animation-delay: -3s;"></div>
<div class="square" style="top: 90%; left: 70%; animation-duration: 15s; animation-delay: -1s;"></div>
<div class="square" style="top: 50%; left: 10%; animation-duration: 8s; animation-delay: -4s;"></div>
</div>
<div class="form-container">
<div class="form-header">User Information</div>
<form action="add" method="post">
<input type="text" id="name" name="name" placeholder="Name">
<input type="text" id="phone" name="phone" placeholder="Phone Number">
<input type="text" id="email" name="email" placeholder="Email">
<input type="text" id="address" name="address" placeholder="Address">
<select id="gender" name="gender">
<option value="">Select Gender</option>
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
<input type="submit" value="Submit">
</form>
<div class="footer">Made with <span style="color: #ff6f61;">♥</span> by You</div>
</div>
</body>
</html>