JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css">
<script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>
<div id="tt" title="Lorem">
<div id="inner">Green box</div>
Blue box
</div>
hover over green then blue, or over blue then green
CSS
#tt{
background-color: lightblue;
width: 200px;
height: 100px;
}
#inner {
width: 160px;
background-color: lightgreen;
}
JavaScript
$(document).tooltip({
track: true
});