Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to show markup inside tooltips #154

chinchang opened this issue Oct 3, 2016 · 3 comments

Ability to show markup inside tooltips #154

chinchang opened this issue Oct 3, 2016 · 3 comments


Copy link

chinchang commented Oct 3, 2016

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>
Copy link

PratheepV commented Jul 15, 2017


@chinchang chinchang added this to Features in Todo tracking Jul 16, 2017
Copy link

janydrozd commented Oct 19, 2018

@chinchang is it still opened? I could work on this.

Copy link
Owner Author

chinchang commented Oct 21, 2018

@janydrozd Yes, it is open. PR is welcome :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

No branches or pull requests

3 participants