Bootstrap 3.3.4 發布,Web 前端 UI 框架
Bootstrap 是最受歡迎的 HTML、CSS 和 JS 框架,用于開發響應式布局、移動設備優先的 WEB 項目。Bootstrap 3.3.4 發布,此版本主要是 bug 修復和文檔改進。此版本總共包括 29 位貢獻者和 325 個 commits。
值得關注的內容如下:
-
修復了一些 Modal 插件的 bugs
-
修復了 ScrollSpy 插件的 bugs
-
優化了當前的 symbol Glyphicons
-
在文檔中部署 AnchorJS
其他改進:
CSS
-
#15561, #15628: Properly resize
.badges inside.btn-group-xs -
#15620: Add
.glyphicon-*aliases for other ISO 4217-ish currency codes: -
.glyphicon-btcand.glyphicon-xbtfor.glyphicon-bitcoin -
.glyphicon-jpyfor.glyphicon-yen -
.glyphicon-rubfor.glyphicon-ruble -
#15656: Improve positioning of inline checkboxes and radio buttons by setting
position: relative -
#15699: Ensure
.form-control-staticdoesn't change height when it's empty -
#15719, #15728: Add a variable for
.form-group'smargin-bottom -
#15726: Remove unnecessary nesting of
.embed-responsive-*classes -
#15755: Removed unnecessary
visibility: hidden !importantfrom.hiddenclass per upstream H5BP change -
#15825: Use a utility mixing for
.initialismtext transformation -
#16021: Remove
visibilityproperties where they are redundant to existingdisplayproperties
JS
-
#15378: Modal: Work around IE scrollbars not taking up page width
-
#15496: Make
$(document).tooltip({...})without theselectoroption throw an error -
#15520: Dropdown: Properly ignore
.disabledelements when using keyboard navigation -
#15557: Tooltip: Avoid creating an unnecessary tooltip when
Tooltip#hideis called -
#15593: Fix Scrollspy's handling of multiple target elements with offsets of zero
-
#15630: Fix erroneous tautological conditional in Tab plugin
-
#15681: Rename
Tooltip.replaceArrow()'sisHorizontalparameter toisVerticalfor accuracy -
#15693: Remove duplicate implementation of
tip()method inpopover.js -
#15930: Modal: Apply any preexisting inline body padding again after closing
-
#15941: Update the
.collapsedclass andaria-expandedattribute of all of a Collapse's trigger elements when showing/hiding the Collapse -
#15881: Modal: Fix backdrop not readjusting when height changes
-
#15988:
$(...).tooltip('hide')on an uninitialized tooltip/popover no longer unnecessarily initializes it -
#16011:
$(...).collapse('hide')on a hidden uninitialized collapsible no longer shows it -
#16043: Use half-closed interval for ScrollSpy bounds condition to avoid selecting wrong nav element when user scrolls upwards
Docs
-
#15491: Add AnchorJS for docs anchors (hover over headings for a permalink to that section)
-
#15621: Document sticky
:hoveron mobile browsers -
#15648: Improve image layout in the Carousel example and document image alignment via
.center-block -
#15662: Mention
dropupvariation in dropdown docs -
#15683, #15703: Clarify usage and effects of
readonlyanddisabledinputs -
#15710: License FAQ clarification
-
#15714: Skip link workarounds for Chrome and IE
-
#15725: Add example of how to use the grid system within a modal
-
#15739: Clarify target of modal events
-
#15740: Clarify target of carousel events
-
#15742: Document how
destroyworks for delegated tooltips/popovers -
#15884, #15885, #15886, #15887, #15888, #15889, #15890, #15891, #15914: Accessibility changes to improve heading hierarchy within pages
-
#15898: Change CC link in footer to HTTPS
-
#15903: Add
rel="license"and update the target of footer license links -
#15906, #15916: Add source code documentation of justified navbar for the single-line text requirement
-
#15910: Document how to properly handle modals with dynamic content height
-
#15915: Javascript docs: Accessibility and cosmetic changes to headings.
-
#15929: Encourage use of icons with form validation states for colorblind users
-
#15946: Accessibility and headings hierarchy for the "Getting started" page
-
#15948: Accessibility and headings hierarchy for the CSS page.
-
#15999: Document JS test suite basics
-
#16004: Add link to Vietnamese docs translation
-
#16042: Increment quick start options in README to five
-
#16058: Document that striped progress bars aren't striped on IE9
更多內容請看發行說明。
此版本現已提供下載: