发布于 2016-07-28 00:48:29 | 234 次阅读 | 评论: 0 | 来源: 网友投递
Bootstrap Web前端CSS框架
Bootstrap是Twitter推出的一个开源的用于前端开发的工具包。它由Twitter的设计师Mark Otto和Jacob Thornton合作开发,是一个CSS/HTML框架。Bootstrap提供了优雅的HTML和CSS规范,它即是由动态CSS语言Less写成。Bootstrap一经推出后颇受欢迎,一直是GitHub上的热门开源项目,包括NASA的MSNBC(微软全国广播公司)的Breaking News都使用了该项目。
Bootstrap v4.0.0-alpha.3 发布了,该版本主要对网格系统做了如下改进:
Our ready-made grid classes (containers and columns) are now behind a Sass variable, meaning grid classes can easily be disabled via Sass variable. Update the boolean $enable-grid-classes
variable and recompile to remove them.
Grid modifier classes are simpler and no longer require the col-
prefix. For example, instead of .col-offset-*-*
, .col-push-*-*
, and .col-pull-*-*
, we now have .offset-*-*
, .push-*-*
, and .pull-*-*
.
Mixins have been changed, and then changed again, to in an effort to keep generated classes simple and cooperative between standard and flexbox modes. Our two primary column mixins are now make-col-ready
, which houses the position
, padding-*
s, and min-height
(to prevent collapsing empty columns), and make-col
for setting the float
and width
.
Added a grid customization section to the docs to explain how to change the number of columns, grid tier breakpoints, container widths, and more.
下载地址:
bootstrap-4.0.0-alpha.3-dist.zip