From b5044765b79ddf4ff67f4cc94babfcd629ea7f9e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 28 Dec 2016 15:09:51 -0800 Subject: [PATCH] update to migration docs --- docs/migration.md | 47 ++++++++++++++++------------------------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/docs/migration.md b/docs/migration.md index 0fa5096381..a01e85dd41 100644 --- a/docs/migration.md +++ b/docs/migration.md @@ -21,10 +21,11 @@ Here are the big ticket items you'll want to be aware of when moving from v3 to ### Global changes +- Flexbox is enabled by default. In general this means a move away from floats and more across our components. - Switched from [Less](http://lesscss.org/) to [Sass](http://sass-lang.com/) for our source CSS files. - Switched from `px` to `rem` as our primary CSS unit, though pixels are still used for media queries and grid behavior as viewports are not affected by type size. - Global font-size increased from `14px` to `16px`. -- Added a new grid tier for smaller devices at `576px` and below. +- Added a new grid tier for smaller devices at `576px` and below (our new `xs` tier). - Replaced the separate optional theme with configurable options via SCSS variables (e.g., `$enable-gradients: true`). ### Grid system @@ -96,6 +97,7 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with - 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 custom forms support (for checkboxes, radios, selects, and file inputs). ### Buttons @@ -106,8 +108,10 @@ New to Bootstrap 4 is the Reboot, a new stylesheet that builds on Normalize with ### Button group +- Rewrote component with flexbox. - Dropped the `.btn-group-xs` class entirely given removal of `.btn-xs`. -- Removed justified button groups as they were only available for `` elements and not `