Re:Creating a Radial Menu in CSS
by ubermammal on Friday April 26, 2013 @08:37PM
(#5616299)
FWIW, it breaks if you use Tab to cycle through the links.
[ Parent
| on HN ]
Unfortunately, CSS does not support a "has", "contains", or "parent" selector, which would be required to support this.
.button:focus + .tip, .tip.open, .tip:has(a:focus)
One line of jQuery should solve: $('.tip a').focus(function(){ $('.tip').addClass('open'); }).blur(function(){ $('.tip').removeClass('open'); });