Earlier quoted context omitted.
Ditto. I was also zoomed at 150%, zooming in to 100% makes it go away. Still worth fixing if possible, since many users browse at non-100% zoom.
> "many users browse at non-100% zoom" This sounds dubious. Do you have a source for this?
Show HN: Hint.css v2.0 – Pure CSS tooltip library
51–60 of 64 posts
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#52Earlier quoted context omitted.
Ditto. I was also zoomed at 150%, zooming in to 100% makes it go away. Still worth fixing if possible, since many users browse at non-100% zoom.
> "many users browse at non-100% zoom" This sounds dubious. Do you have a source for this?
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#53Earlier quoted context omitted.
> "many users browse at non-100% zoom" This sounds dubious. Do you have a source for this?
Do you have a source to support many users browse at 100% zoom?
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#54On 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.
(After some messing around, it only appears at multiples of 75% zoom for me. I am using chrome 'Version 48.0.2564.97 m' on Windows with a 1080p screen.)
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#55Earlier quoted context omitted.
> "many users browse at non-100% zoom" This sounds dubious. Do you have a source for this?
> Do you have a source for this? I don't. However it seems odd to think people wouldn't zoom in a document viewer. Let's get some real numbers though: I just asked Addy Osmani on Twitter if there are stats for this, since window.devicePixelRatio changes with zoom.
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#56If anyone would like to try a live preview on their site, I wrapped hint.css in a quick Eager app: http://bit.ly/202YkC5
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#57Also, a good JS solution will dynamically reposition the tooltip if the requested orientation results in the tooltip being clipped by the viewport (eg. switch from right to left, top to bottom).
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#58For those wondering, the main trick is here: https://github.com/chinchang/hint.css/blob/master/hint.css#L... This creates a pseudo ":after" element with content set to the value of the data-hint attribute. Smart! https://developer.mozilla.org/en-US/docs/Web/CSS/attr
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#59Earlier quoted context omitted.
> "many users browse at non-100% zoom" This sounds dubious. Do you have a source for this?
I've run into some issues with webpages I've designed where the users are browsing at 150%-250% regularly. I'm not quite sure what to do about it. It's different than when a tablet zooms, which is literally just zooming in... browsers make things bigger (text, images, etc) and it screws with things.
(I'm browsing Hacker News at 200% right now. It works great since their latest responsive fix.)
Re: Show HN: Hint.css v2.0 – Pure CSS tooltip library
#60Earlier quoted context omitted.
> Do you have a source for this? I don't. However it seems odd to think people wouldn't zoom in a document viewer. Let's get some real numbers though: I just asked Addy Osmani on Twitter if there are stats for this, since window.devicePixelRatio changes with zoom.
Do 90% of web users know that this is a document viewer?