Bootstrap v4.0.0-alpha.3 发布,改进网格系统 - 开源中国社区
Bootstrap v4.0.0-alpha.3 发布,改进网格系统
oschina 2016年07月28日

Bootstrap v4.0.0-alpha.3 发布,改进网格系统

oschina oschina 发布于2016年07月28日 收藏 12

腾讯云 十分钟定制你的第一个小程序>>>  

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 开源中国社区 [http://www.oschina.net]
本文标题:Bootstrap v4.0.0-alpha.3 发布,改进网格系统
分享
评论(5)
最新评论
0
正式版在等一年!
0
Good
0
还是觉得semantic ui强大
0
啥时候正式版出来呢
0
沙发
顶部