Skip to content

Commit 747c1b4

Browse files
Merge pull request Ayushparikh-code#901 from FNICKE/patch-1
Update cancel.html
2 parents f9612a6 + 7d8c4b4 commit 747c1b4

File tree

1 file changed

+76
-24
lines changed

1 file changed

+76
-24
lines changed

cancel.html

Lines changed: 76 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,88 +5,140 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>Feedback Form</title>
77
<style>
8-
body {
9-
font-family: Arial, sans-serif;
8+
/* General Styles */
9+
* {
1010
margin: 0;
1111
padding: 0;
12+
box-sizing: border-box;
13+
font-family: 'Poppins', sans-serif;
14+
}
15+
16+
body {
1217
display: flex;
1318
justify-content: center;
1419
align-items: center;
1520
height: 100vh;
16-
background-color: #f0f0f0;
21+
background: linear-gradient(135deg, #667eea, #764ba2);
22+
padding: 20px;
1723
}
1824

1925
.feedback-form {
20-
background-color: white;
21-
padding: 20px;
22-
border-radius: 8px;
23-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
26+
background: rgba(255, 255, 255, 0.2);
27+
padding: 25px;
28+
border-radius: 12px;
29+
backdrop-filter: blur(10px);
30+
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
2431
max-width: 400px;
2532
width: 100%;
33+
text-align: center;
34+
color: white;
2635
}
2736

2837
.feedback-form h2 {
38+
font-size: 26px;
2939
margin-bottom: 15px;
30-
font-size: 24px;
40+
font-weight: 600;
41+
letter-spacing: 1px;
3142
}
3243

3344
.feedback-form label {
3445
font-size: 16px;
35-
margin-bottom: 5px;
3646
display: block;
47+
text-align: left;
48+
margin: 10px 0 5px;
49+
font-weight: 500;
3750
}
3851

3952
.feedback-form input,
4053
.feedback-form textarea {
4154
width: 100%;
42-
padding: 10px;
43-
margin-bottom: 10px;
44-
border: 1px solid #ccc;
45-
border-radius: 4px;
55+
padding: 12px;
56+
border: none;
57+
border-radius: 6px;
58+
background: rgba(255, 255, 255, 0.3);
59+
color: white;
60+
font-size: 16px;
61+
outline: none;
62+
transition: all 0.3s ease;
63+
}
64+
65+
.feedback-form input::placeholder,
66+
.feedback-form textarea::placeholder {
67+
color: rgba(255, 255, 255, 0.7);
68+
}
69+
70+
.feedback-form input:focus,
71+
.feedback-form textarea:focus {
72+
background: rgba(255, 255, 255, 0.5);
73+
transform: scale(1.02);
4674
}
4775

4876
.feedback-form textarea {
4977
resize: vertical;
78+
min-height: 80px;
79+
}
80+
81+
.button-container {
82+
display: flex;
83+
justify-content: space-between;
84+
margin-top: 15px;
5085
}
5186

5287
.feedback-form button {
53-
padding: 10px 15px;
88+
flex: 1;
89+
padding: 12px;
5490
border: none;
55-
border-radius: 4px;
91+
border-radius: 6px;
92+
font-size: 16px;
5693
cursor: pointer;
94+
font-weight: 600;
95+
transition: all 0.3s ease;
5796
}
5897

5998
.submit-btn {
60-
background-color: #4CAF50;
99+
background-color: #28a745;
61100
color: white;
62101
margin-right: 10px;
63102
}
64103

65104
.cancel-btn {
66-
background-color: #f44336;
105+
background-color: #dc3545;
67106
color: white;
68107
}
69108

70109
.feedback-form button:hover {
71-
opacity: 0.9;
110+
opacity: 0.85;
111+
transform: translateY(-2px);
112+
}
113+
114+
/* Responsive */
115+
@media (max-width: 480px) {
116+
.feedback-form {
117+
padding: 20px;
118+
}
119+
.feedback-form h2 {
120+
font-size: 22px;
121+
}
72122
}
73123
</style>
74124
</head>
75125
<body>
76126

77127
<form class="feedback-form" id="feedback-form">
78-
<h2>Feedback Form</h2>
79-
<label for="name">Name:</label>
128+
<h2>💬 Feedback Form</h2>
129+
<label for="name">👤 Name:</label>
80130
<input type="text" id="name" name="name" placeholder="Your name..." required>
81131

82-
<label for="email">Email:</label>
132+
<label for="email">📧 Email:</label>
83133
<input type="email" id="email" name="email" placeholder="Your email..." required>
84134

85-
<label for="message">Message:</label>
135+
<label for="message">✍️ Message:</label>
86136
<textarea id="message" name="message" rows="4" placeholder="Your message..." required></textarea>
87137

88-
<button type="submit" class="submit-btn">Submit</button>
89-
<button type="button" class="cancel-btn" id="cancel-btn">Cancel</button>
138+
<div class="button-container">
139+
<button type="submit" class="submit-btn">✅ Submit</button>
140+
<button type="button" class="cancel-btn" id="cancel-btn">❌ Cancel</button>
141+
</div>
90142
</form>
91143

92144
<script>

0 commit comments

Comments
 (0)