JSFiddle - React, Tailwind, and code Playground
HTML
<section class="tooltip" data-tip="Some dummy text">
<div class="circle"></div>
</section>
CSS
body{
background: #3B353A;
}
.tooltip{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.circle{
position: relative;
width: 50px;
height: 50px;
background: #EF7256;
border-radius: 50%;
border: 2px solid #F4F6F4;
}
.circle:after,
.circle:before{
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 2px;
height: 40%;
background: #F4F6F4;
box-sizing: border-box;
}
.circle:before{
width: 40%;
height: 2px;
}
.tooltip:after{
content: attr(data-tip);
display: block;
position: absolute;
top: -60%;
margin-top: 2px;
left: 50%;
transform: translate(-50%, -100%);
white-space: nowrap;
background: #F4F6F4;
color: #3B353A;
padding: .2em .4em;
border-radius: 5px;
border: 2px solid #EF7256;
font-family: sans-serif;
transition: top .3s, opacity .3s;
opacity: 0;
font-size: 12px;
}
.tooltip:before{
content: '';
position: absolute;
top: -60%;
left: 50%;
transform: translate(-50%, -50%) rotate(45deg);
width: 10px;
height: 10px;
background: #F4F6F4;
z-index: 10;
border: 2px solid #EF7256;
border-top-color: transparent;
border-left-color: transparent;
border-radius: 100% 0 0 0;
transition: top .3s, opacity .3s;
opacity: 0;
}
.tooltip:hover:after,
.tooltip:hover:before{
top: -30%;
opacity: 1;
}