HTML5 Boilerplate 4.0 发布了,下载地址:
https://github.com/h5bp/html5-boilerplate/zipball/v4.0.0
4.0 改进记录:
- Improve the Apache compression configuration (#1012, #1173).
- Add a HiDPI example media query (#1127).
- Add bundled docs (#1154).
- Add MIT license (#1139).
- Update to Normalize.css 1.0.1.
- Separate Normalize.css from the rest of the CSS (#1160).
- Improve
console.logprotection (#1107). - Replace hot pink text selection color with a neutral color.
- Change image replacement technique (#1149).
- Code format and consistency changes (#1112).
- Rename CSS file and rename JS files and subdirectories.
- Update to jQuery 1.8 (#1161).
- Update to Modernizr 2.6.1 (#1086).
- Remove uncompressed jQuery (#1153).
- Remove superfluous inline comments (#1150).
HTML5 Boilerplate 的核心是用于帮助开发 HTML5 站点和应用程序的组件,包括:
Modernizr,一个小型实用程序库,支持在 Windows® Internet Explorer® 中设置新的 HTML5 元素样式,并协助在所有浏览器中进行 HTML5/CSS3 特性检测。如果您正在使用 HTML5 进行开发且需要支持 Internet Explorer 版本 9 之前的浏览器版本 ,那么这个库(或者我稍后将解释的一个替代选项)将是您的项目必不可少的一个组件。- 构建于 HTML5 Doctor Reset 之上的一个 CSS 起始文件,包含几个智能默认值和增强。
- 内置 HTML5 语法,以及一些新的语义元素,用于构成您文档的骨架。
