Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2021-12-23 15:38:43 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-01-04 10:50:53 +0300
commitbee3847e6d53da5787ada49ead9f25d6811f5622 (patch)
tree8fafa88b596ff404df2b3d53e252ed0f14f57cb4
parenta3d14bb7b7814940229e972e606da2a7f397a237 (diff)
Add note to carousel crossfade docs about bg color (#35587)
-rw-r--r--site/content/docs/4.6/components/carousel.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.6/components/carousel.md b/site/content/docs/4.6/components/carousel.md
index b491beb3d6..d23810cc61 100644
--- a/site/content/docs/4.6/components/carousel.md
+++ b/site/content/docs/4.6/components/carousel.md
@@ -154,7 +154,7 @@ Add captions to your slides easily with the `.carousel-caption` element within a
### Crossfade
-Add `.carousel-fade` to your carousel to animate slides with a fade transition instead of a slide.
+Add `.carousel-fade` to your carousel to animate slides with a fade transition instead of a slide. Depending on your carousel content (e.g., text only slides), you may want to add `.bg-body` or some custom CSS to the `.carousel-item`s for proper crossfading.
{{< example >}}
<div id="carouselExampleFade" class="carousel slide carousel-fade" data-ride="carousel">