TIP: Try navigating through list using left & right arrow keys


DEPRECATED - A front-end template that helps you build fast, modern mobile web apps.

Github issues
Github stars
5 days ago
Github last update date

Deprecation Note

Mobile Boilerplate is no longer maintained. Please use HTML5 Boilerplate as a decent starting point for your project.

Mobile Boilerplate

Mobile Boilerplate is a professional front-end template that helps you build fast and robust mobile web applications. Spend more time developing and less time reinventing the wheel.

Quick start

Clone the git repo - git clone https://github.com/h5bp/mobile-boilerplate.git - or download it


  • Mobile browser optimizations.
  • CSS normalizations and common bug fixes.
  • The latest jQuery.
  • A custom Modernizr build for feature detection and a polyfill for CSS Media Queries.
  • Home page icon for Android, iOS, Nokia, Firefox.
  • Cross-browser viewport optimization for Android, iOS, Mobile IE, Nokia, and Blackberry.
  • Open Web App support for Firefox for Android and Firefox OS.
  • Better font rendering in Mobile IE.
  • iPhone web app meta.
  • INSTANT button click event.
  • Textarea autogrow plugin.
  • Hide URL bar method.
  • Prevent form zoom onfocus method.
  • Mobile site redirection.
  • User Agent Detection.
  • An optimized Google Analytics snippet.
  • Apache server caching, compression, and other configuration defaults for Grade-A performance.
  • Cross-domain Ajax.
  • "Delete-key friendly." Easy to strip out parts you don't need.
  • Extensive inline and accompanying documentation.


Take a look at the documentation table of contents. This documentation is bundled with the project, which makes it readily available for offline reading and provides a useful starting point for any documentation you want to write about your project.


Anyone and everyone is welcome to contribute.

Buy us a coffeeBuy us a coffee