Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
CSS target all mobile devices
@media (pointer:coarse) {
/* custom css for "touch targets" */
@media (hover: none) {
/* custom css for devices where the primary input mechanism cannot hover at all or cannot conveniently hover
@media (hover:none), (hover:on-demand) {
/* custom css for "touch targets" */
/* credit: */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.