touch-action property in CSS gives you control over the effect of touchscreen interactions with an element, similar to the more widely-used
pointer-events property used to control mouse interactions.
touch-action: pan-right pinch-zoom;
touch-action property is useful …
Front-end developers and web designers live in an insane multi-device reality.
Stu Cox explains that there are a ton of ways you might think you can get a yes-or-no answer on whether a browser supports touch or not:
- Width media queries
- Touch-related DOM events
- Touch-related APIs
- Pointer media queries
The normal …