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

风尘浪子
风尘浪子
正式版在等一年!
hantsy
hantsy
Good
LarryYan
LarryYan
还是觉得semantic ui强大
公孙二狗
公孙二狗
啥时候正式版出来呢
自然麻雀
自然麻雀
沙发
返回顶部
顶部