@shakthillc/components
Version:
React generic components for shakthi products
35 lines (32 loc) • 742 B
CSS
@import url("https://rsms.me/inter/inter.css");
.font-inter {
font-family: Inter;
font-size: 12px;
font-weight: normal;
font-style: normal;
line-height: 20px;
color: #ffffff;
}
.tooltip {
composes: font-inter;
position: absolute;
width: 222px;
left: 21px;
top: 300px;
color: white;
background: rgba(0, 0, 0, 0.8);
box-shadow: 0px 10px 16px rgba(0, 0, 0, 0.1), 0px 4px 6px rgba(0, 0, 0, 0.06);
border-radius: 4px;
padding:8px 12px;
z-index: 1000;
}
.tooltip__sub {
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid rgba(0, 0, 0, 0.8);
position: absolute;
margin-top:7px;
z-index: 1000;
}