From deb8e3febd0bf59dff60c1411e162082e92199d0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 23 Dec 2021 14:38:43 +0200 Subject: Add note to carousel crossfade docs about bg color (#35587) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #35181 Co-authored-by: Mark Otto Co-authored-by: Gaƫl Poupard --- site/content/docs/5.1/components/carousel.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site') diff --git a/site/content/docs/5.1/components/carousel.md b/site/content/docs/5.1/components/carousel.md index 5a060f26fd..c7f7108939 100644 --- a/site/content/docs/5.1/components/carousel.md +++ b/site/content/docs/5.1/components/carousel.md @@ -152,7 +152,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 >}}