Skip to content

Instantly share code, notes, and snippets.

@zxhfighter
Last active December 28, 2015 07:09
Show Gist options
  • Save zxhfighter/7461994 to your computer and use it in GitHub Desktop.
Save zxhfighter/7461994 to your computer and use it in GitHub Desktop.
bootstrap
  1. bootstrap是由twitter推出的一个开源的前端框架。

  2. bootstrap脚本部分依赖jquery,样式部分采用LESS开发,然后经过编译(即将LESS->CSS)和压缩(压缩脚本和CSS),生成最终版本。

  3. bootstrap诱人特性:友好学习曲线、卓越兼容性、响应式设计、12列网格、基于LESS和jquery、移动支持,使用Normalize支持扩浏览器渲染、媒体查询等等。

  4. 网格系统需要注意的地方:

  • 每一行(.row)必须包含在(.container)中
  • 使用行(.row)来对列进行分组
  • 具体的内容必须在列中(.col),并且只有列(.col)能成为行(.row)的直接子节点
  • 还有一些其他细节,可以去这里看
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment