From: Mark Otto Date: Thu, 15 Jun 2017 03:31:43 +0000 (-0700) Subject: Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks X-Git-Tag: v4.0.0-beta~147^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7302c221aa5688edb6323d754a4b7dd508759e3;p=thirdparty%2Fbootstrap.git Merge branch 'form-tweaks' of https://github.com/twbs/bootstrap into form-tweaks --- d7302c221aa5688edb6323d754a4b7dd508759e3 diff --cc docs/4.0/migration.md index 4779d1b4d1,5d5343ca91..f1e6b9fe2d --- a/docs/4.0/migration.md +++ b/docs/4.0/migration.md @@@ -103,10 -103,9 +103,11 @@@ New to Bootstrap 4 is the [Reboot]({{ s - Dropped the `.form-horizontal` class requirement. - `.form-group` no longer applies styles from the `.row` via mixin, so `.row` is now required for horizontal grid layouts (e.g., `
`). - Added new `.form-control-label` class to vertically center labels with `.form-control`s. + - Added new `.form-row` for compact form layouts with the grid classes (swap your `.row` for a `.form-row` and go). - Added custom forms support (for checkboxes, radios, selects, and file inputs). - - Renamed `.has-error` to `.has-danger`. +- Added HTML5 form validation support via CSS's `:invalid` and `:valid` pseudo-classes. + - Renamed `.has-error` to `.has-danger`. + - Renamed `.form-control-static` to `.form-control-plaintext`. ### Buttons