Feedback & Interaction · What a tap feels like
Press feedback按压反馈
- confirming
- tactile
- fast
The element shrinks or darkens slightly while pressed, so the finger feels that the tap landed.
When to use it
Every button and tappable area should have it, and it must be faster than hover; it springs back the moment the finger lifts.
Parameters
transform: scale 1→0.97 · 100ms · ease-out · release 140ms springs back
Recipe
release 140ms springs backPress feedback → scale 1 → 0.97 @ 100ms ease-out
One sentence for your AI
Add press feedback to this button: scale to 0.97 over 100ms ease-out on pointer down, returning to scale 1 over 140ms on release.