An Interest In:
Web News this Week
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
- March 28, 2024
- March 27, 2024
- March 26, 2024
July 3, 2019 08:48 pm GMT
Original Link: https://css-tricks.com/menus-with-dynamic-hit-areas/
Menus with Dynamic Hit Areas
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 first on CSS-Tricks.
Original Link: https://css-tricks.com/menus-with-dynamic-hit-areas/
Share this article:
Tweet
View Full Article