红联Linux门户
Linux帮助

Twitter Bootstrap 3预览版 ---- 移动优先

发布时间:2013-03-13 09:16:59来源:红联作者:empast
Bootstrap 发布了最新的预览版本,标签为 3.0,这是它的第三个主要发行版本,此次的版本为预览版本。

主要更新包括:

更改 Bootstrap URL
编译所有 LESS 代码以及响应式样式到单个 CSS 文件中
不再支持 IE7
许可证由 Apache 改为 MIT
删除 *-wip 分支样式
加速版本化
改进响应式 CSS
集中来自社区的贡献
这只是预览版本,到 3.0 正式版发布时还有会更多的改进。该版本被标签为“移动优先”,因为进行了完全重写以更好的适应手机浏览器。移动的风格是直接在库中存在。

其他的改变还包括转换文档到 Jekyll 替代 Mustache,重做插图,更新支持 Retina 的示例截图,重新设计图标预览,更新所有示例以演示新的改进,通过插件改进 noConflict 等。

此外 Bootstrap 3.0 还包含一些最重要的改进:

Colors such as @blue or @orange were removed, but they were not used that much anyway.
In order to match CSS patterns, the .opacity () mixin uses now decimal values instead of whole numbers.
The grid systems are fluid by default.
The @altFontFamily variable is removed.
Regarding forms, .form-search and .controls-row are removed.
Dropdowns are now allowed within button groups.
The .nav-list option is now modified to make it look like the BS2 sidenav.
Support for .navbar-search has been dropped.
The .btn-navbar variable is now called .navbar-toggle
The framework is tested on iOS5 and on Android devices, including on native Chrome browsers.

Bootstrap 3.0 包含大量新特性,这将会需要很长时间来开发,不过你可以从该版本开始测试。

你可以通过下面地址获取 Bootstrap 3.0 预览版本:

https://github.com/twitter/bootstrap/tree/3.0.0-wip

来自:开源中国社区
文章评论

共有 0 条评论