miekd/delivery — pull request #5 by trafnar (2012-05-08 07:25:08+00:00)
Title: Tooltip improvements

Just a small suggestion to improve tooltip behavior and markup :)

I removed the empty element and replaced it with an :after psuedo class.

I also noticed there was some glitchy behavior when you move your mouse from a navigation item to the tooltip (it fades out then back in). So I used :before to provide a bridge element from the trigger to the tooltip.

There is still the issue of tooltips being triggered by hovering over them when they are invisible. I can't think of a pure-css way to fix this unless the fade effect is removed. Maybe keyframe animation can accomplish this? (fade out, then display:none, or position top:-999px)