Touch detection

PHOTO EMBED

Saved by @360designer #css

/* if the primary input mechanism system of the device CANNOT hover */
@media (hover: none) { }

/* if the primary input mechanism system of the device can hover */
@media (hover: hover) { }
content_copyCOPY

https://medium.com/@ferie/detect-a-touch-device-with-only-css-9f8e30fa1134