Tagged articles
1 articles
Page 1 of 1
JavaScript
JavaScript
Jan 12, 2017 · Mobile Development

How to Implement Responsive Touch Feedback on Mobile Web Pages

This article explains three methods to provide visual touch feedback on mobile web pages—using the :active pseudo‑class with a touchstart handler, the non‑standard -webkit‑tap‑highlight‑color property, and custom touch event listeners that add and remove an active class, plus tips for handling the 300 ms delay.

CSSJavaScripttouch feedback
0 likes · 4 min read
How to Implement Responsive Touch Feedback on Mobile Web Pages