aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/carousel/carousel.css6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css
index cdcbe2f78..1ac82e089 100644
--- a/examples/carousel/carousel.css
+++ b/examples/carousel/carousel.css
@@ -18,6 +18,12 @@ body {
z-index: 15;
}
+/* Vertically aligns left and right chevrons. */
+.carousel-control > .glyphicon-chevron-left, .carousel-control > .glyphicon-chevron-right {
+ position: absolute;
+ display: inline-block;
+ top: 50%;
+}
/* CUSTOMIZE THE CAROUSEL