Detect a touch device with only CSS

Detect a touch device with only CSS

May 28, 2019

I wrote some articles on Medium, the platform where everybody can be a writer.

In here I am explaining how new standards can help developers to detect a touch device just using CSS instead of using JavaScript.

Here is a little introduction to it. 

New standards developments in CSS are providing a better future for developers that needs to detect touch devices just with their CSS.

CSS Media Queries Level 4 indeed is going to provide 2 new features: hover and pointer.

Continue to read my most successful story about how to detect a touch device with only CSS here: https://medium.com/@ferie/detect-a-touch-device-with-only-css-9f8e30fa1134



Enjoy this post?

Buy Riccardo Andreatta a beer

More from Riccardo Andreatta