]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add details to the Migration page
authorMark Otto <markdotto@gmail.com>
Mon, 14 Sep 2020 02:14:45 +0000 (19:14 -0700)
committerMark Otto <otto@github.com>
Tue, 22 Sep 2020 23:49:02 +0000 (16:49 -0700)
site/content/docs/5.0/migration.md

index 2c9dc4011cc7c5664d7962bd0cadefe440a7cb3a..01f33d44495b094e11e7224168e9a9c118934945 100644 (file)
@@ -48,6 +48,12 @@ toc: true
 
 - Disabled states of buttons are easier to customize thanks to additional arguments in the `button-variant()` mixin. [See #30639.](https://github.com/twbs/bootstrap/pull/30639)
 
+#### Close button
+
+- Renamed `.close` to `.btn-close` for a less generic name.
+- Close buttons now use a `background-image` (embedded SVG) instead of a `&times;` in the HTML, allowing for easier customization without the need to touch your markup.
+- Added new variables to better control the customization.
+
 #### Navs
 
 - Added new `null` variables for `font-size`, `font-weight`, `color`, and `:hover` `color` to the `.nav-link` class.