Bootstrap 4.0.0-alpha.2 發布

jopen 8年前發布 | 6K 次閱讀 Bootstrap

Bootstrap是快速開發Web應用程序的前端工具包。它是一個CSS和HTML的集合,它使用了最新的瀏覽器技術,給你的Web開發提供了時尚的版式,表單,buttons,表格,網格系統等等。

Bootstrap 4.0.0-alpha.2 發布Bootstrap 4.0.0-alpha.2 發布,更新如下:

  • Overhauled spacing utilities to use a numerical tiering (to avoid confusion with grid tiers).

    </li>

  • Continued refactoring efforts to replace markup-specific selectors with classes across several components (including pagination, lists, and more). Still more to do here with additional components.

    </li>

  • Reverted media queries and grid containers from rems to pixels as viewports are not affected by font-size. See #17403 for details. We’ve got a ton of grid work left, too. Feel free to follow along with #18471.

    </li>

  • Reverted .0625rem width borders to 1px for more consistent component borders that avoid zoom and font-size bugs across browsers.

    </li>

  • Renamed .img-responsive to .img-fluid to avoid future confusion on the various responsive image solutions out there.

    </li>

  • Replaced ZeroClipboard with clipboard.js for Flash-independent copy buttons.

    </li>

  • Inputs and buttons now share the same border variable to ensure components are always sized similarly.

    </li>

  • Updated all pseudo-element selectors to use the spec’s preferred double colon (e.g., ::before as opposed to :before).

    </li>

  • Cards now have outline variants and mixins to support extending base classes further.

    </li>

  • Utility classes for floats and text alignment now have responsive ranges. This means we’ve dropped the none-responsive classes to avoid duplication.

    </li>

  • Added support for jQuery 2.

    </li>

  • And hundreds more Sass improvements, bug fixes, documentation updates, and more.

    </li> </ul>

    詳情請看:blog post

    下載地址:v4.0.0-alpha.2

     

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