diff --git a/docs/examples/carousel/carousel.css b/docs/examples/carousel/carousel.css index 7056a41a89..52c93a2966 100644 --- a/docs/examples/carousel/carousel.css +++ b/docs/examples/carousel/carousel.css @@ -21,11 +21,11 @@ body { } /* Declare heights because of positioning of img element */ -.carousel .item { +.carousel-item { height: 32rem; background-color: #777; } -.carousel-inner > .item > img { +.carousel-item > img { position: absolute; top: 0; left: 0; diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index 15704ac094..9faa4d3bc2 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -50,7 +50,7 @@