Skip to content

Commit

Permalink
Add note to carousel crossfade docs about bg color (#35587)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Jan 4, 2022
1 parent a3d14bb commit bee3847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/4.6/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit bee3847

Please sign in to comment.