Re:Show HN: hint.css – a tooltip library in CSS
by JangoSteve on Monday February 04, 2013 @08:24PM
(#5168442)
It's wouldn't be possible if you're only using CSS. See this stackoverflow post [1], or more specifically the spec it references [2] on the CSS content property (used by this library).
The acceptable values are:
You might think, maybe you could insert html by putting the html on an attribute and using the attr() value, but reading further:This function returns as a string the value of attribute X for the subject of the selector. The string is not parsed by the CSS processor.
[1] http://stackoverflow.com/questions/4505093/css-content-prope...
[2] http://www.w3.org/TR/CSS21/generate.html#propdef-content