1. Home
  2. Css
  3. Detect non touch devices

This media query let's you target non touch devices. Check browser support before implementing.

#css#media
<style>
@media (hover: hover) {
    .no-touch { /* ... */ }
    .hover-dropdown { /* ... */ }
}
</style>
copy
Full Css cheatsheet