JSFiddle - React, Tailwind, and code Playground
HTML
<div title="hello
tooltip
e" class="item">
<p>This is my item</p>
<div class="tooltip">Tooltip</div>
</div>
CSS
.item {
position: relative;
width: 1000px;
height: 40px;
top: 200px;
left: 400px;
background: #CCC;
}
.item .tooltip {
position: fixed; /** depends on how it handles the e.pageX and e.pageY **/
width: 80px;
height: 30px;
background: #06F;
z-index: 10;
display: none; /**let the tooltip be not visable, when startup **/
}