Mobile Boilerplate Lite is a fork of the popular HTML5 Mobile Boilerplate. The lite version removes overhead by only targeting modern browsers and uses Zepto.js instead of jQuery.
Clone the git repo - git clone git://github.com/lchamb/mobile-boilerplate-lite.git
- or download it
- Uses Zepto.js instead of jQuery—only 8.4kb minified and gzipped
- Removes support for legacy browsers like older versions of Blackberry and Symbian
- Includes HAML and SASS versions of the boilerplate (not really lite, but useful)
Features (From Mobile Boilerplate)
- Mobile browser optimizations.
- HTML5 ready. Use the new elements with confidence.
- CSS normalizations and common bug fixes.
- Home page icon for Android, iOS, Nokia
- Mobile IE conditional switch
- Cross-browser viewport optimization for Android, iOS, Mobile IE, Nokia, Blackberry
- Better font rendering in Mobile IE
- iPhone web app meta
- INSTANT button click event
- Textarea autogrow
- Hide URL bar method
- Prevent form zoom onfocus method
- Mobile site redirection
- Mobile sitemap
- Mobile bookmark bubble
- User Agent Detection
- The latest jQuery via CDN, with a local fallback.
- A custom Modernizr build (including Respond.js) for feature detection and a polyfill for CSS Media Queries.
- An optimized Google Analytics snippet.
- Apache server caching, compression, and other configuration defaults for Grade-A performance.
- A build script to automate the minification and concatenation of your HTML/CSS/JS.
- Cross-domain Ajax.
- "Delete-key friendly." Easy to strip out parts you don't need.
- Extensive inline and accompanying documentation.
- HTML5 Mobile Boilerplate: The unlicense (aka: public domain)
- Zepto.js: MIT license
- jQuery: MIT/GPL license
- Modernizr: MIT/BSD license
- Normalize.css: Public Domain
- Bookmark Bubble Library: Apache License, Version 2.0
- Any modifications or additions to the lite version are part of the public domain