Open platform to collect and prioritize feedback
[data-tooltip] {
position: relative;
&::before {
background-color: var(--colors-gray-700);
color: var(--colors-white);
font-size: 11px;
padding: 4px 6px;
width: max-content;
border-radius: 4px;
position: absolute;
text-align: center;
bottom: 40px;
font-weight: 500;
left: 50%;
content: attr(data-tooltip);
transform: translate(-50%, 100%) scale(0);
transition: 0.1s;
}
&:hover:before {
display: block;
transform: translate(-50%, 100%) scale(1);
}
}