推ter Bootstrap 3.0 预览版发布 - 支持移动浏览器

jopen 11年前

推ter Bootstrap 3.0 预览版发布 - 支持移动浏览器

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/推ter/bootstrap/tree/3.0.0-wip