diff options
| author | Shohei Yoshida <[email protected]> | 2020-08-05 03:51:19 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-08-04 21:51:19 +0300 |
| commit | e8566e10c74e05c232a0d6da801198bd9cd55b09 (patch) | |
| tree | 96056f587bea988b8838440efdfe44cb5926e350 /site/content/docs | |
| parent | 9181c84f0f4536aaeea3ec3157271dcc5d7d6e39 (diff) | |
| download | bootstrap-e8566e10c74e05c232a0d6da801198bd9cd55b09.tar.xz bootstrap-e8566e10c74e05c232a0d6da801198bd9cd55b09.zip | |
box-shadow() mixin allow 'null' and drop support 'none' with multiple args (#30394)
* Support 'null' and drop `none` with multiple args
* Output a warning when use 'none' with multiple arguments
* Add migration note
* Update migration.md
Co-authored-by: Mark Otto <[email protected]>
Co-authored-by: XhmikosR <[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 75108d3ca..afb320fae 100644 --- a/site/content/docs/5.0/migration.md +++ b/site/content/docs/5.0/migration.md @@ -110,6 +110,7 @@ Changes to our source Sass files and compiled CSS. - The `bg-gradient-variant()` mixin is removed since the `.bg-gradient` class can now be used to add gradients to elements instead of the `.bg-gradient-*` classes. - 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). ### JavaScript |
