Right now hint.css tooltips can only show normal text with unicode characters. It cannot render HTML because of no support in content property.
HTML tooltips are only possible when tooltips are not made using pseudo elements. So the library could have an option to let user define their own element in the DOM which is rendered as a tooltip.
Something like:
<div class="hint--top">
A tooltip shows on me.
<div data-hint>I am <strong>rendered</strong> as tooltip with HTML</div>
</div>
Right now hint.css tooltips can only show normal text with unicode characters. It cannot render HTML because of no support in
content
property.HTML tooltips are only possible when tooltips are not made using pseudo elements. So the library could have an option to let user define their own element in the DOM which is rendered as a tooltip.
Something like: