aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kasperski <[email protected]>2021-01-13 18:05:25 +0100
committerGitHub <[email protected]>2021-01-13 19:05:25 +0200
commit408b2558dcdacfbe5754103519e5d67d9c1c149b (patch)
treef8ed62103646d599209e1b4996689a99c723e61e
parentf43133ac412eb47111d09e89750a130cc79b9835 (diff)
downloadbootstrap-408b2558dcdacfbe5754103519e5d67d9c1c149b.tar.xz
bootstrap-408b2558dcdacfbe5754103519e5d67d9c1c149b.zip
Update toasts.md (#32782)
* dropped mention of `backdrop-filter` * changed mention of `.text-white` to `.btn-close-white` on close button
-rw-r--r--site/content/docs/5.0/components/toasts.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.0/components/toasts.md b/site/content/docs/5.0/components/toasts.md
index b6f7e3893..bd7bcae9c 100644
--- a/site/content/docs/5.0/components/toasts.md
+++ b/site/content/docs/5.0/components/toasts.md
@@ -43,7 +43,7 @@ Toasts are as flexible as you need and have very little required markup. At a mi
### Translucent
-Toasts are slightly translucent, too, so they blend over whatever they might appear over. For browsers that support the `backdrop-filter` CSS property, we'll also attempt to blur the elements under a toast.
+Toasts are slightly translucent, too, so they blend over whatever they might appear over.
{{< example class="bg-dark" >}}
<div class="toast" role="alert" aria-live="assertive" aria-atomic="true">
@@ -120,7 +120,7 @@ Alternatively, you can also add additional controls and components to toasts.
### Color schemes
-Building on the above example, you can create different toast color schemes with our [color utilities]({{< docsref "/utilities/colors" >}}). Here we've added `.bg-primary` and `.text-white` to the `.toast`, and then added `.text-white` to our close button. For a crisp edge, we remove the default border with `.border-0`.
+Building on the above example, you can create different toast color schemes with our [color utilities]({{< docsref "/utilities/colors" >}}). Here we've added `.bg-primary` and `.text-white` to the `.toast`, and then added `.btn-close-white` to our close button. For a crisp edge, we remove the default border with `.border-0`.
{{< example class="bg-light" >}}
<div class="toast d-flex align-items-center text-white bg-primary border-0" role="alert" aria-live="assertive" aria-atomic="true">