推ter 的前端 UI 框架,Bootstrap 2.3.0 发布
jopen 12年前
Bootstrap是快速开发Web应用程序的前端工具包。它是一个CSS和HTML的集合,它使用了最新的浏览器技术,给你的Web开发提供了时尚的版式,表单,buttons,表格,网格系统等等。
Bootstrap 2.3 发布了,包含一些新特性以及 bug 修复和文档的完善,值得关注的有:
- Repository changes:
- Local instead of global dependencies for our makefile and install process. Now getting started is way easier—just run
npm install
. - 升级到 jQuery 1.9.
- Moved changelog to be within the repo instead of as a wiki page.
- Local instead of global dependencies for our makefile and install process. Now getting started is way easier—just run
- New and improved features:
- Added carousel indicators! Add the HTML and it automagically works.
- Added
container
option to tooltips. The default option is stillinsertAfter
, but now you may specify where to insert tooltips (and by extension, popovers) with the optional container parameter. - Improved popovers now utilize
max-width
instead ofwidth
, have been widened from 240px to 280px, and will automatically hide the title if one has not been set via CSS:empty
selector. - Improved tooltip alignment on edges with #6713.
- Improved accessibility for links in all components. After merging #6441, link hover states now apply to the
:focus
state as well. This goes for basictags, as well as buttons, navs, dropdowns, and more.
- Added print utility classes to show and hide content between
screen
andprint
via CSS. - Updated input groups to make them behave more like default form controls. Added
display: inline-block;
, increasedmargin-bottom
, and addedvertical-align: middle;
to matchstyles.
- Added
.horizontal-three-colors()
gradient mixin (with example in the CSS tests file). - Added
.text-left
,.text-center
, and.text-right
utility classes for easy typographic alignment. - Added
@ms-viewport
so IE10 can use responsive CSS when in split-screen mode.
- Docs changes:
- Added new justified navigation example.
- Added sticky footer with fixed navbar example.
下载地址:Bootstrap 2.3.0 (latest master ZIP)