chinchang / chinchang/hint.css

Ability to show markup inside tooltips

Open
#154 3 comments 8 reactions 0 assignees View on GitHub
enhancement faq
Dominant language
CSS
Stars
8.4k
Forks
680
PR merge metrics
No merged PRs in 30d

Description

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:

```


A tooltip shows on me.
I am rendered as tooltip with HTML


```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.