推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
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!