Tag: HTML/CSS
-
Post Views: 50 1. Install V3 through npm, as shown in Figure 1 npm install bootstrap@3 2. Install Grunt to compile css and javascript files. Due to the slow installation speed of npm, finally choose cnpm, as shown in Figure 2 (1) Install grunt-cli in the global environment:npm install -g grunt-cli (2) Enter the /bootstrap/ root directory, and then execute…
-
Post Views: 9 /* * HTML5 Boilerplate * * What follows is the result of much research on cross-browser styling. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, * Kroc Camen, and the H5BP dev community and team. */ /* * HTML5 样板 * * 以下是诸多跨浏览器样式研究的结果 * 内嵌致谢,非常感谢 Nicolas Gallagher、Jonathan Neal、Kroc Camen 和 H5BP 开发团队和小组 */…
-
Post Views: 6 /*! normalize.css v1.1.0 | MIT License | git.io/normalize */ /* ========================================================================== HTML5 display definitions ========================================================================== */ /* ========================================================================== HTML5 显示定义 ========================================================================== */ /** * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3. */ /** * 纠正 IE 6/7/8/9 和 Firefox 3 中未定义的 `block` 元素显示 */ article, aside, details, figcaption, figure, footer, header, hgroup, main,…