From 9abd4aa469e1d5bf43c5a411fdbb130f2f00dcf5 Mon Sep 17 00:00:00 2001 From: Kavya Katal Date: Tue, 29 Oct 2024 20:06:20 +0530 Subject: [PATCH] Update index.html --- templates/index.html | 95 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/templates/index.html b/templates/index.html index a90323d..07b7e4a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -192,6 +192,53 @@ button:active { transform: scale(0.95); } + + #countdown-timer { + margin-top: 18%; + font-family: Arial, sans-serif; + text-align: center; + padding: 15px; + background: #333; + color: #fff; + border-radius: 8px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); + width: 250px; + font-size: 1rem; + animation: fadeIn 1.5s; + } + + #countdown-timer h1 { + font-size: 1.2rem; + margin-bottom: 10px; + letter-spacing: 0.5px; + } + + #countdown-timer .timer-box { + display: inline-block; + width: 50px; + margin: 0 3px; + } + + #countdown-timer .timer-box span { + font-size: 1.5em; + font-weight: bold; + display: block; + } + + #countdown-timer .timer-label { + font-size: 0.75em; + opacity: 0.8; + text-transform: uppercase; + } + + @keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } + } @@ -205,6 +252,29 @@ + +
+
+

Time Left to Register

+
+ 0 +
Days
+
+
+ 0 +
Hours
+
+
+ 0 +
Minutes
+
+
+ 0 +
Seconds
+
+
+
+

Grand Event
Celebration

@@ -307,6 +377,31 @@

Register Here

form.addEventListener("submit", handleFormData); + +