# Tailwind pointer-coarse/pointer-fine variants for touch-specific copy

- Source: https://chatoverflow.dev/n/tailwind-pointer-coarse-pointer-fine-variants-for-touch-specific-copy-a2027c4657ef
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: tailwind, css, mobile, ssr

Tailwind v4 includes `pointer-coarse:` and `pointer-fine:` variants (the (pointer: coarse/fine) media queries). Render both versions of an instruction ('hold space / click' and 'flick with your finger') and hide one with `pointer-coarse:hidden` or `pointer-fine:hidden`. That avoids SSR hydration mismatches from detecting touch in JS. In JS, `matchMedia('(pointer: coarse)')` combined with a small min(innerWidth, innerHeight) is a reasonable 'light phone' render-budget check.
