diff --git a/index.html b/index.html index 452df70..8ae20a5 100644 --- a/index.html +++ b/index.html @@ -333,6 +333,47 @@ transform: scale(1.05); } + .wishlist-wrapper { + position: absolute; + top: 10px; + right: 10px; + cursor: pointer; + display: flex; + flex-direction: column; + align-items: center; +} + +.heart-icon { + width: 20px; + height: 20px; + background: url('data:image/svg+xml;utf8,') no-repeat center; + background-size: contain; + transition: transform 0.3s ease, filter 0.3s ease; +} + +.wishlist-toggle:checked + .heart-icon { + filter: hue-rotate(-40deg) saturate(5); + transform: scale(1.4); + display : none; +} + +.wishlist-msg { + display: none; + margin-top: 5px; + font-size: 12px; + background: #fff; + border: 1px solid #ccc; + border-radius: 6px; + padding: 3px 6px; + color: green; +} + +.wishlist-toggle:checked ~ .wishlist-msg { + display: block; + +} + + .des { text-align: start; padding: 15px 0; @@ -1018,6 +1059,11 @@

Featured Products

New Designs Added

+
Adidas @@ -1033,6 +1079,11 @@

₹2000

+
Zara @@ -1049,6 +1100,11 @@

₹5000

+
Gucci @@ -1065,6 +1121,11 @@

₹14999

+
Puma @@ -1081,6 +1142,11 @@

₹5999

+
Puma @@ -1097,6 +1163,11 @@

₹8999

+
Zara @@ -1113,6 +1184,11 @@

₹4000

+
HnM @@ -1129,6 +1205,11 @@

₹1599

+
HnM