<div class="button" data-tooltip="PRICE $20"> <div class="button-wrapper"> <div class="text">Add To Cart</div> <span class="icon"> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-cart2" viewBox="0 0 16 16" >
.button { --width: 100px; --height: 35px; --tooltip-height: 35px; --tooltip-width: 90px; --gap-between-tooltip-to-button: 18px; --button-color: #222; --tooltip-color: #fff; width: var(--width); height: var(--height); background: var(--button-color); position: relative;