diff options
author | Mark Otto <markdotto@gmail.com> | 2022-04-07 03:35:31 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2022-04-07 19:37:04 +0300 |
commit | dab026fc2bb43aff8d16033143d1bf0d71198277 (patch) | |
tree | bbd724786a541aab5b564136b3534ad294dedd04 /site/content/docs | |
parent | 5b31463e35bc9af18fabb30f76186c0e77ea2b99 (diff) |
Revert border-color utilities to use the CSS property instead of the variable
Diffstat (limited to 'site/content/docs')
-rw-r--r-- | site/content/docs/5.1/utilities/borders.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/site/content/docs/5.1/utilities/borders.md b/site/content/docs/5.1/utilities/borders.md index 6939dcdf8a..17d353b322 100644 --- a/site/content/docs/5.1/utilities/borders.md +++ b/site/content/docs/5.1/utilities/borders.md @@ -43,6 +43,12 @@ Change the border color using utilities built on our theme colors. <span class="border border-white"></span> {{< /example >}} +{{< callout >}} +Unlike text and background color utilities, border color utilities redeclare the `border-color` property **without** an additional `--bs-border-opacity`, as opposed to resetting only `--bs-border-color`. This ensures the backward compatibility of border color utilities applying to other components while providing additional functionality through CSS variables. + +This will be revisited in a future major release. +{{< /callout >}} + ## Opacity {{< added-in "5.2.0" >}} |