Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Carousel): added a crossfade example (#5668)
- Loading branch information
Showing
3 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<Carousel fade> | ||
<Carousel.Item> | ||
<img | ||
className="d-block w-100" | ||
src="holder.js/800x400?text=First slide&bg=373940" | ||
alt="First slide" | ||
/> | ||
<Carousel.Caption> | ||
<h3>First slide label</h3> | ||
<p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p> | ||
</Carousel.Caption> | ||
</Carousel.Item> | ||
<Carousel.Item> | ||
<img | ||
className="d-block w-100" | ||
src="holder.js/800x400?text=Second slide&bg=282c34" | ||
alt="Second slide" | ||
/> | ||
|
||
<Carousel.Caption> | ||
<h3>Second slide label</h3> | ||
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> | ||
</Carousel.Caption> | ||
</Carousel.Item> | ||
<Carousel.Item> | ||
<img | ||
className="d-block w-100" | ||
src="holder.js/800x400?text=Third slide&bg=20232a" | ||
alt="Third slide" | ||
/> | ||
|
||
<Carousel.Caption> | ||
<h3>Third slide label</h3> | ||
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.</p> | ||
</Carousel.Caption> | ||
</Carousel.Item> | ||
</Carousel>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters