Articles Tagged
touch-action
The 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.
#element {
touch-action: pan-right pinch-zoom;
}
The touch-action
property is useful …
Creating an Animated Login Form for TouchID
I came across this amazing Dribbble shot by Jakub Reis a while back. It caught my eye and I knew that I just had to try recreating it in code. At that moment, I didn’t know how. I tried out …
Touch Devices Should Not Be Judged By Their Size
Front-end developers and web designers live in an insane multi-device reality.
A few months ago, the Red Hat UXD team discussed how to design enterprise applications for mobile environments. Sarah and Jenn, my talented colleagues, pointed out that touch …
You Can’t Detect A Touchscreen
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 …