I read this about interacting environments that explain how css can detect if a pointer is touch sensitive or not. It uses a query @medialike
@media (pointer: coarse){
body{
// do something
}
}
but I'm just wondering how to implement it using javascript from jQuery, is this possible?
Thank you and sorry for my english
source
share