Fade in Effect
- This demo has fade in/out effect.
- It is using CSS opacity, visibility, and transition property to toggle the tooltip.
- Other demos are using display property(none or block) for the toggle.
This generator will help you design and create CSS tooltips.
The CSS tooltip appears when user moves the mouse over an element, or when user tap the element with a mobile device.
Css Tooltip is simple, and considered satisfactory in most cases. However, there are times that its limitations are becoming clear.
Its limitations can be resolved by using our JavaScript Tooltip:
Features | CSS Tooltip | Javascript Tooltip |
---|---|---|
Opening Events | Mouse over (or tap with mobile devices) |
Can be configured to any client event such as onclick, onmouseover, onfocus, ect. Click me |
Accessibility | Contents (such as a link) in the tooltip not reachable |
Fully accessible. The tooltip will stay when moving mouse from target element to tooltip. Examples:
|
Content Source Location | Tooltip content has to be written into the same tooltip target element container:
<span class="tooltip">
(target text)
(tooltip content)
</span>
|
Tooltip content can be:
|
Visibility | Might be cut off if located close to page borders. |
Will smartly reposition itself if no enough space is found ahead. |
Browser Support |
Yes (IE 9.0+) |
Yes (IE 6.0+) |
Cost | Free | $20.00 |