From 807df8276af687c3680d2606e51cc9f96bc9456f Mon Sep 17 00:00:00 2001 From: Subhajit-2023-44 Date: Thu, 7 Nov 2024 00:11:25 +0530 Subject: [PATCH] done --- index.html | 80 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index 97f2605..a296f4b 100644 --- a/index.html +++ b/index.html @@ -1040,46 +1040,64 @@

We Value Your Feedback!

} /* Rating Section Styling */ - .rating-group { - display: flex; - justify-content: center; - gap: 8px; - font-size: 24px; - cursor: pointer; + .star-rating { + + display: flex; + justify-content: center; + margin-top: 10px; + flex-direction: row-reverse; + font-size: 3rem; + gap: 25px; + line-height: 1; + } - /* Individual Star Styling */ - .rating-group i { - color: #ccc; - /* Default star color */ - transition: color 0.3s ease; + .star-rating input { + + display: none; /* Hide the radio buttons */ + } + .star-rating label { - /* Hover Effect */ - .rating-group i:hover, - .rating-group i:hover~i { - color: #f4d03f; - /* Highlighted star color on hover */ + color: #4b5563; /* Default star color */ + cursor: pointer; } - /* Selected Star Color */ - .rating-group .selected, - .rating-group .selected~i { - color: #ff8c00; - /* Color when star is selected */ + + .star-rating input:checked ~ label { + + color: #4d994d; + + } + + .star-rating label:hover, + .star-rating label:hover ~ label { + + color: #4d994d; /* Hover effect */ + + + } -
- -
- - - - - -
-
+
+ +
+
+ + + + + + + + + + + +
+ +