I have a div tag like this:
<div> <label>Name</label> <input type="text"/> </div>
How can I displaying a tooltip on :hover of the div, preferably with a fade in/out effect.
:hover
For the basic tooltip, you want:
<div title="This is my tooltip">
like:
.visible { height: 3em; width: 10em; background: yellow; }
<div title="This is my tooltip" class="visible"></div>
2.1m questions
2.1m answers
60 comments
57.0k users