diff options
| author | Jeremy Jackson <[email protected]> | 2020-09-01 21:17:17 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-09-01 14:17:17 -0700 |
| commit | 1503aa18d187648507ade06cdf78cc3333185716 (patch) | |
| tree | 190b2fc05cc919d26f2b35dbe82f5efb92c06092 /site/content/docs | |
| parent | 613a5e47f39f6f3e5a81e6791a059bd150e915b4 (diff) | |
| download | bootstrap-1503aa18d187648507ade06cdf78cc3333185716.tar.xz bootstrap-1503aa18d187648507ade06cdf78cc3333185716.zip | |
Add default parameters to each border radius mixin (#31571)
* Add default parameters to each border radius mixin
* Add border radius changes to migration guide
Co-authored-by: Jeremy Jackson <[email protected]>
Diffstat (limited to 'site/content/docs')
| -rw-r--r-- | site/content/docs/5.0/migration.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/site/content/docs/5.0/migration.md b/site/content/docs/5.0/migration.md index 4a4cddbcb..03657ea0f 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -111,6 +111,7 @@ Changes to our source Sass files and compiled CSS. - The `media-breakpoint-down()` uses the breakpoint itself instead of the next breakpoint. Use `media-breakpoint-down(lg)` instead of `media-breakpoint-down(md)` to target viewports smaller than the `lg` breakpoint. - The `media-breakpoint-between()` mixin's second parameter also uses the breakpoint itself instead of the next breakpoint. Use `media-between(sm, lg)` instead of `media-breakpoint-between(sm, md)` to target viewports between the `sm` and `lg` breakpoints. - The `box-shadow()` mixin now better supports `none` and `null` with multiple arguments. Now you can pass multiple arguements with either value, and get the expected output. [See #30394](https://github.com/twbs/bootstrap/pull/30394). +- Each `border-radius()` mixin now has a default value. You can now call these mixins without specifying a border radius value and the `$border-radius` variable will be used. [See #31571](https://github.com/twbs/bootstrap/pull/31571) ### JavaScript |
