Live data from Hacker News

Show HN: Hint.css v2.0 – Pure CSS tooltip library

kushagragour.in

1–10 of 64 posts

Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library

#2
On one of the very first tooltips at the very top of the landing page (the download button), my Chrome v48.0.2564.97 browser renders a very thin gap between the triangle of the tooltip and the content rectangle. Not a great first impression...Is anyone else seeing this? I suspect it has something to do with pixel percentages.

Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library

#3

On one of the very first tooltips at the very top of the landing page (the download button), my Chrome v48.0.2564.97 browser renders a very thin gap between the triangle of the tooltip and the content rectangle. Not a great first impression...Is anyone else seeing this? I suspect it has something to do with pixel percentages.

yes, but only when i zoom in/out

Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library

#5

On one of the very first tooltips at the very top of the landing page (the download button), my Chrome v48.0.2564.97 browser renders a very thin gap between the triangle of the tooltip and the content rectangle. Not a great first impression...Is anyone else seeing this? I suspect it has something to do with pixel percentages.

No such on gap my Chrome, it works great. (v48.0.2564.97, Mac OS X 10.11.3)

Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library

#6
An interesting hack in minimalism. They accomplish being able to display user defined text in tooltips without JS by using content(data-attrib) in the CSS rule. I was not away that the content() rule allowed you to query other attributes on any matched tags and use them like variables

Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library

#9
post #8

How accessible is this approach to screen reader users and people who rely on keyboard interaction alone? Edit: A quick test reveals these tooltips are not accessible at all.

Not with keyboard interaction: they’d have to add :focus rules and tabindexes to the parent.

Screen readers sometimes read out generated content. Léonie has more info: http://tink.uk/accessibility-support-for-css-generated-conte...

Post reply on HN