You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flexbox is now on by default, with no fallback! This means we've dropped IE9 support, but with significant savings to our code base, simpler components, and improved customization thanks to the power of flexbox.
Rebuilt the navbar with flexbox in mind, leading to some structural changes, but including more flexibility and customization. Includes updated docs, code snippets, more responsive options. All navbars in our examples are also using the latest markup and styles now. Also solves around 10 bugs in the process!
Overhauled flexbox utilities and documented them. Replaced all the previous flexbox utilities with new ones that are named after property: value pairs (instead of creating new names for things). For example, .flex-items-between is now .justify-content-between to apply justify-content: between;. This also adds tons of new flexbox utilities for display, order, wrap, and more.
Revamped navs Sass with flexbox and updated docs. All the floats and clearfixs have been removed, .nav-inline removed (on account of display: flex inlining for us on .nav), added fill and justify options, and more.
Fixed up all examples to use latest navbar and grid changes.
Building on the grid improvements from Alpha 5, you can now customize container padding across grid breakpoints and optionally remove grid gutters with .no-gutters.
Similarly, our flexbox grid system has new classes for automatically sizing columns to the size of their content across viewports (e.g., you can now apply col-xs-6, col-md-auto, and col-xl-4 to a single element).
Grid, display, float, margin, padding, and text utility classes have been significantly overhauled. In addition to all classes now being responsive, the xs tier no longer requires a breakpoint abbreviation, making for shorter and more descriptive classes and an easier migration from v3. For example, instead of .d-xs-none, it's back to .d-none while it remains .d-{sm,md,lg,xl}-none for those breakpoints.
Renamed some .active, all .in, and all .open classes for our JavaScript powered components for more consistent naming. For example, instead it's now .collapse.show instead of .collapse.in and .show > .dropdown-menu instead of .open > .dropdown-menu to better communicate the visibility of elements.
Refactored carousel with new, simpler styles, better documentation, and less specific selectors.
Rewrote progress component without the <progress> element due to lack of animations, no support for multiple bars, and no support for labels on the progress bars.
Fixed some unescaped #s in our SVG data URLs that are used to add vector background-images.
Renamed .tag back to .badge, like v3, to avoid conflicts with common WordPress styles.
A number of custom form enhancements and bugfixes were made. Label-less custom radios and cehckboxes, fixed SVG URLs in background-images, and more.
Updated Normalize.css to v5.0.0.
.form-check and .form-check-inline now share the same markup. Switch between the two by adding or removing .form-check-inline as a modifier.
Added support for justified navigation when in flexbox mode.
Renamed _animation.scss to _transitions.scss for clarity.
Added new color variables (e.g., $blue) for additional customization.
Responsive display utilities #20934: Display utility classes are now responsive, and float utilities have been tweaked slightly to drop the xs abbreviation for that breakpont.
v4: Flex cards #21403: Rebuild cards with flexbox in mind, simplifying overall styling and improving docs.
v4: Flex media redux #21405: Rebuild .media object with flexbox, heavily reducing included classes and overhauling docs with new and improved examples.
v4: Simplify button states #21439: Simplify button states for pseudo-classes and more. Fixes a handful of issues in the process around how disabled and active buttons are styled.
Drop .caret #21525: Removed leftover .caret styles from button CSS. These have been unused for some time with the switch to ::after for our dropdown indicators.
Highlights
property: value
pairs (instead of creating new names for things). For example,.flex-items-between
is now.justify-content-between
to applyjustify-content: between;
. This also adds tons of new flexbox utilities fordisplay
,order
,wrap
, and more.float
s and clearfixs have been removed,.nav-inline
removed (on account ofdisplay: flex
inlining for us on.nav
), added fill and justify options, and more..no-gutters
.col-xs-6
,col-md-auto
, andcol-xl-4
to a single element).xs
tier no longer requires a breakpoint abbreviation, making for shorter and more descriptive classes and an easier migration from v3. For example, instead of.d-xs-none
, it's back to.d-none
while it remains.d-{sm,md,lg,xl}-none
for those breakpoints..active
, all.in
, and all.open
classes for our JavaScript powered components for more consistent naming. For example, instead it's now.collapse.show
instead of.collapse.in
and.show > .dropdown-menu
instead of.open > .dropdown-menu
to better communicate the visibility of elements.<progress>
element due to lack of animations, no support for multiple bars, and no support for labels on the progress bars.#
s in our SVG data URLs that are used to add vector background-images..tag
back to.badge
, like v3, to avoid conflicts with common WordPress styles.background-image
s, and more..form-check
and.form-check-inline
now share the same markup. Switch between the two by adding or removing.form-check-inline
as a modifier._animation.scss
to_transitions.scss
for clarity.$blue
) for additional customization.CSS
@supports
.box-sizing
reset CSS media query helpers inbootstrap-grid.scss
to ensure grid behaves as intended..table-responsive
as a modifier instead of wrapper..card-header
and.card-footer
transparent in inverse card.max
is greater thanvalue-"100"
..no-gutters
on rows.0
.16px
browser default for improved accessibility..embed-responsive
to use flexbox.$gray-
vars to component-based ones..form-control
sizing in Firefox when in flexbox mode.margin-bottom
from<label>
s on custom file inputs.$modal-md
is now500px
instead of600px
and$modal-lg
is now800px
instead of900px
(to better match the medium one).display: block
instead oftable
.pointer-events
from the custom input.invisible
mixin forvisibility: hidden
..tag
to.badge
to avoid conflicts w/ WordPress.button-outline-variant
mixin for setting thecolor
on hover/focus.min-height
to custom form controls to ensure they don't collapse without label text (due to indicators being absolutely positioned).font-weight
.border-bottom
from<abbr>
given underline from Normalize.css.xs
abbreviation for that breakpont..form-check
and.form-check-inline
now share the same markup. Switch between the two by adding or removing.form-check-inline
as a modifier.@if
statement around shadows on.form-control
.#
in SVG data URLs #20962: Fix unescaped#
in SVG data URLs.$input-line-height
variable instead of base line-height to calculate height of<select>
s so they properly match textual inputs and buttons.margin-left
tomargin-right
for custom form checks for better rendering on narrow viewports.between
mixin with less repetition.$font-weight-base
variable for setting the global, defaultfont-weight
on the<body>
of your pages.top
on custom form controls..navbar-text
across light and dark variants.border-color
on:focus
.xs
abbreviation #21059, Feature/omit xs from grid #21086, Rename.col-xs
to.col
+ some other cleanup #21222: Remove-xs
from the extra small grid class names (but keep thesm
,md
,lg
, andxl
for the others).$alert-margin-bottom
variable.$modal-title-
variables to$modal-header-
to match the classes.::first-letter
selector for print styles (fixes IE11 print bug)..card-inverse
to set acolor
for the entire card, and then update the docs to better describe the class's use and scope.$gray-
colors to fix $gray-light color inaccessible on white background #20952, active list group item text, and close icon)..fade
and.collapsing
in an@if
statement so they can be controlled by global$enable-transitions
variable, which has been restored totrue
.$gray-lightest
..form-inline
to add flexbox support, better docs, and better support for more form control types.border-0
override utilities (for all properties and individual sides)..rounded-0
utility for overridingborder-radius
..text-xs-*
to.text-*
#21217: Removexs-
prefix from text utilities..mw-100
and.mh-100
utilities formax-width: 100%;
andmax-height: 100%;
..navbar-toggleable-xs
to.navbar-toggleable
+ more cleanup #21226: Rename.navbar-toggleable-xs
to.navbar-toggleable
and more cleanup.code
tags inside ofa
tags aren't formatted properly #21259, Restyle code elements in links #21392: Reset<code>
styles when in<a>
s.<fieldset>
comment to better reflectmin-width
weirdness._animation.scss
to_transitions.scss
for clarity.system-ui
to font stack for future-proofing Chrome.$brand-primary
asbackground-color
for progress bar background.$table-bg-inverse
to$table-inverse-bg
and add$table-inverse-color
.$white
and$black
variables to build on Add more color vars #21378 and put them to use..media
object with flexbox, heavily reducing included classes and overhauling docs with new and improved examples.margin-{side}: auto
utilities and document how awesome they are with flexbox layouts._custom.scss
after vars and mixins #21442: Move_custom.scss
import after variables and mixins.align-items: center
to.form-inline
so smaller elements don't grow to their potentially larger siblings.position: relative
#21464: Addposition: relative
to containers by default.<progress>
.tab-focus
mixin as we're no longer overriding default focus styles..table-reflow
..caret
styles from button CSS. These have been unused for some time with the switch to::after
for our dropdown indicators.JS
.active
state.<body>
.<ol>
s in addition to<ul>
s.container
option to tooltips.Function
constructor to avoid CSP violation.ignoreBackdropClick
.<area>
s.Use a single class name for opened/expanded/shown state of widgets? #19344, Fix #19344 - Use a single class name for opened/expanded/shown state of widgets #20982: Use a single "active"/"open" class—that being.active
—across all our JavaScript plugins.Tether
via attachment towindow
.pageYOffset
instead ofscrollY
.$.proxy
to ES6 arrow functions.display: none;
.eslint:recommended
settings..active
to.show
#21036: Undo Use a single class name for opened/expanded/shown state of widgets? #19344 and Fix #19344 - Use a single class name for opened/expanded/shown state of widgets #20982 some, using.show
as the "in"/"active" class for transitioning components toggled via JavaScript..preventDefault()
for the left and right arrow keys rather than every key.<nav>
component markup.aria-pressed
attribute for buttons in container withdata-attribute="buttons"
Docs
ride
option and more./utilities/
..float-left
from card header nav docs #21292: Remove specific requirement offloat-left
utility for card header navs (though you'll needfloat-right
for right-aligned navs).Examples
Build tools
scss_lint
task to npm script.cssmin
task to npm script.uglify
task to npm script.sass
task to npm script and drop Ruby Sass support.Packaging
The text was updated successfully, but these errors were encountered: