6 of 25
Gate decorative hover motion
Enable hover-only effects when the primary input can hover. Keep every action available through touch and keyboard, including on devices with several input types.
Do@media (hover: hover) @media (hover: hover) — primary input can hover
Don’tHover scale on touch scales on tap — a phantom hover
Tap: only the Don’t side moves; the Do side is obeying this rule
Reduced motion: end states only, as your setting asks.
Before you ship
- Can the control be identified before hovering?
- Does the action work with focus and activation from a keyboard?
- What happens when the user switches from trackpad to touch?