Menus with “Dynamic Hit Areas”

1 · CSS-Tricks · July 3, 2019, 10:15 p.m.
Flyout menus! The second you need to implement a menu that uses a hover event to display more menu items, you're in tricky territory. For one, they should work with clicks and taps, too. Without that, you've broken the menu for anyone without a mouse. That doesn't mean you can't also use :hover. When you use a hover state to reveal more content, that means an un-hovering state needs to hide them. Therein lies the problem. The … Read article The post Menus with “Dynamic Hit Areas” appeared fir...