1. Home
  2. Handbook
  3. Make it feel native

// handbook · make it feel like an app

12 CSS and HTML tweaks that make a web app feel native

Users can tell within seconds when an app is "just a website". It's rarely the design — it's the small browser behaviours that leak through. Here's how to remove them.

updated · 3 min read · APK Builder team

Short answerRemove the tap highlight, disable pull-to-overscroll glow where it doesn't belong, pad for safe areas, use 48 px touch targets and the system font, stop accidental text selection on controls, avoid hover-only UI, keep a sticky header, and give instant visual feedback on every tap.

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

  1. No tap highlight — replace it with your own pressed state.
  2. Overscroll — stop the whole page bouncing; let inner lists scroll.
  3. Safe areas — keep headers and bottom bars clear of notches and gesture bars.
  4. No selectable UI — buttons and tabs shouldn't highlight like text when long-pressed.
  5. 48 px touch targets — Android's recommended minimum.
  6. Instant feedback — a pressed state within 100 ms; native apps never feel unresponsive.
  7. System font — system-ui matches the phone and loads instantly.
  8. No hover-only features — there is no hover on touch screens.
  9. Sticky header or bottom bar — navigation that stays put feels like an app.
  10. No zoom on inputs — use 16 px or larger font in form fields so the page doesn't zoom.
  11. Right keyboards — inputmode="decimal", type="email", type="tel", enterkeyhint="search".
  12. Skeletons, not spinners — show the layout immediately and fill it in.

What not to do

  • Don't disable pinch-zoom with user-scalable=no on 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 transform and opacity; they run on the GPU and stay smooth on cheap phones.
  • Keep transitions short — 150 to 250 ms.
  • Respect prefers-reduced-motion and 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.
  • 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.

Read next

// ready when you are

Build your APK — free.

No Android Studio, no code, no watermark. Pick your input: