0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #9828 from cmdoptesc/3.0.0-wip

Add background-color to carousel.
This commit is contained in:
Mark Otto 2013-08-19 00:56:04 -07:00
commit dbd749c226

View File

@ -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;