html - Why I'm not able to attach a tooltip to my textarea in CSS? (it works on hyperlinks though) -


here's jsfiddle, don't know why can't attach tooltip textarea... there other way make nice-looking tooltip input field or textarea?

here's html file:

<div id="sth"> <a href="#" class="tooltip-top" data-tooltip="this tooltip.">tooltip top</a><br> <a href="#" class="tooltip-left" data-tooltip="this tooltip.">tooltip left</a><br> <textarea class="tooltip-right" data-tooltip="this tooltip.">where right tooltip? </textarea><br> <a href="#" class="tooltip-bottom" data-tooltip="this tooltip.">tooltip bottom</a>     </div> 

css content in fiddle. thanks!

seems it's not possible use css :hover textarea without else, can in preferably jquery. there many tooltip-plugins jquery.

https://www.google.se/search?q=css+textarea+hover&gws_rd=cr&ei=vnq7vbafdothywp574hobw#q=jquery+tooltip


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -