diff options
| author | Mark Otto <[email protected]> | 2013-08-19 00:56:04 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-19 00:56:04 -0700 |
| commit | dbd749c22603c8d0b9d27bd5a1ebf619ef30ba81 (patch) | |
| tree | 3698cabc87cb4b710d42ff80e8403ec947615682 /examples | |
| parent | 4fd861a70492e8dea78f1a4da1c1e9ed2a4eebfb (diff) | |
| parent | eb43c2685565cedec38f60b4812fd4431cbd2df1 (diff) | |
| download | bootstrap-dbd749c22603c8d0b9d27bd5a1ebf619ef30ba81.tar.xz bootstrap-dbd749c22603c8d0b9d27bd5a1ebf619ef30ba81.zip | |
Merge pull request #9828 from cmdoptesc/3.0.0-wip
Add background-color to carousel.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/carousel/carousel.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/carousel/carousel.css b/examples/carousel/carousel.css index 452fdfeed..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 @@ -38,6 +44,7 @@ body { /* Declare heights because of positioning of img element */ .carousel .item { height: 500px; + background-color: #777; } .carousel-inner > .item > img { position: absolute; @@ -93,7 +100,7 @@ body { @media (min-width: 768px) { - /* Remve the edge padding needed for mobile */ + /* Remove the edge padding needed for mobile */ .marketing { padding-left: 0; padding-right: 0; |
