News for hackers. Stuff that matters.
Re:Show HN: hint.css – a tooltip library in CSS by Andrex on Monday February 04, 2013 @11:23AM (#5164924)
I really like it, but part of me thinks the better way would be to just use whatever's on the title attribute of an element, which would of course need JavaScript. I guess this would be better for lighter sites.

Edit- I misunderstood how this works, I thought you actually had to add <span>s (extra markup) but it seems not! This is really great!

My only complaint is that it messes with elements if you're doing the :before/after thing for font icons.

Re:Show HN: hint.css – a tooltip library in CSS by chinchang on Monday February 04, 2013 @12:53PM (#5165728)
Thanks Andrex. The issue with using title attribute is that its hard to suppress the default tooltip that shows up with just CSS. Any idea if it can be done?
Re:Show HN: hint.css – a tooltip library in CSS by Andrex on Tuesday February 05, 2013 @12:32PM (#5171912)
Not without JS as far as I know, which is unfortunate. It really should be some kind of CSS attribute.