The starter stylesheet
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
font: 16px/1.5 system-ui, -apple-system, Roboto, sans-serif;
-webkit-tap-highlight-color: transparent; /* 1. no blue flash on tap */
overscroll-behavior-y: none; /* 2. no bounce/glow on the page */
padding: env(safe-area-inset-top) env(safe-area-inset-right)
env(safe-area-inset-bottom) env(safe-area-inset-left); /* 3. notches */
}
button, .tab, .chip { user-select: none; min-height: 48px; } /* 4 + 5 */
button:active { transform: scale(.97); } /* 6. instant feedback */
img { -webkit-user-drag: none; } /* 7. no ghost image on long-press */
Add viewport-fit=cover to your viewport meta tag so the safe-area values are filled in.
All twelve
- No tap highlight — replace it with your own pressed state.
- Overscroll — stop the whole page bouncing; let inner lists scroll.
- Safe areas — keep headers and bottom bars clear of notches and gesture bars.
- No selectable UI — buttons and tabs shouldn't highlight like text when long-pressed.
- 48 px touch targets — Android's recommended minimum.
- Instant feedback — a pressed state within 100 ms; native apps never feel unresponsive.
- System font —
system-uimatches the phone and loads instantly. - No hover-only features — there is no hover on touch screens.
- Sticky header or bottom bar — navigation that stays put feels like an app.
- No zoom on inputs — use 16 px or larger font in form fields so the page doesn't zoom.
- Right keyboards —
inputmode="decimal",type="email",type="tel",enterkeyhint="search". - Skeletons, not spinners — show the layout immediately and fill it in.
What not to do
- Don't disable pinch-zoom with
user-scalable=noon content pages — it hurts accessibility. Design so zooming isn't needed instead. - Don't show "Add to home screen" or cookie banners meant for browser visitors.
- Don't copy iOS look-alikes; Android users expect Android patterns like a back arrow and bottom navigation.
Every blueprint on this site already includes these tweaks — view the source of any demo.
Motion and speed
Native apps feel fast because they respond instantly and animate purposefully. In a web app:
- Animate only
transformandopacity; they run on the GPU and stay smooth on cheap phones. - Keep transitions short — 150 to 250 ms.
- Respect
prefers-reduced-motionand turn decorative animation off when it's set. - Avoid layout shifts: give images a width and height (or
aspect-ratio) so content doesn't jump while they load.
Navigation patterns that feel at home on Android
- Bottom navigation for three to five main sections — reachable with one thumb. (Pro builds can add a native tab bar instead.)
- A top app bar with the screen title and, on inner screens, a back arrow that calls
history.back(). - Bottom sheets for details and actions, closed by Back — see the back button.
- Pull-to-refresh only where content updates; URL apps from our builder include it.
Quick self-check
Hand the app to someone who hasn't seen it and watch for a minute. If they ever pinch-zoom, wait for a tap to respond, or look for a hover menu, you've found the next thing to fix.
Questions
How do I remove the blue highlight when tapping in a WebView?
Set -webkit-tap-highlight-color: transparent on body, then add your own :active style.
Why does my page zoom when I tap a form field?
Inputs with a font size under 16 px trigger zoom on many mobile browsers and web views. Use 16 px or larger.
Should I disable pinch zoom?
Not on content pages; it harms accessibility. Make the layout readable without zooming instead.