From e40a09ba2ed6eaf231fb202c253c0f55053b39e6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Dec 2016 22:18:49 -0800 Subject: [PATCH] redo the carousel example to match --- docs/examples/carousel/carousel.css | 18 +++++++----------- docs/examples/carousel/index.html | 20 ++++++++------------ 2 files changed, 15 insertions(+), 23 deletions(-) diff --git a/docs/examples/carousel/carousel.css b/docs/examples/carousel/carousel.css index a1ec54fa54..58fdde1cb1 100644 --- a/docs/examples/carousel/carousel.css +++ b/docs/examples/carousel/carousel.css @@ -19,6 +19,7 @@ body { /* Since positioning the image, we need to help out the caption */ .carousel-caption { z-index: 10; + bottom: 3rem; } /* Declare heights because of positioning of img element */ @@ -34,17 +35,12 @@ body { height: 32rem; } -.carousel-indicators { - top: 1.5rem; - right: 1.5rem; - bottom: auto; - left: auto; - width: 1rem; - margin-left: 0; -} - -.carousel-indicators > li { - margin-bottom: .25rem; +.carousel-indicators li { + width: .75rem; + height: .75rem; + margin-right: .25rem; + margin-left: .25rem; + border-radius: 50%; } diff --git a/docs/examples/carousel/index.html b/docs/examples/carousel/index.html index 990553b97a..3f906960ff 100644 --- a/docs/examples/carousel/index.html +++ b/docs/examples/carousel/index.html @@ -37,11 +37,7 @@ - -