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 @@
New Designs Added