mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Merge pull request #9828 from cmdoptesc/3.0.0-wip
Add background-color to carousel.
This commit is contained in:
@@ -18,6 +18,12 @@ body {
|
|||||||
z-index: 15;
|
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
|
/* CUSTOMIZE THE CAROUSEL
|
||||||
@@ -38,6 +44,7 @@ body {
|
|||||||
/* Declare heights because of positioning of img element */
|
/* Declare heights because of positioning of img element */
|
||||||
.carousel .item {
|
.carousel .item {
|
||||||
height: 500px;
|
height: 500px;
|
||||||
|
background-color: #777;
|
||||||
}
|
}
|
||||||
.carousel-inner > .item > img {
|
.carousel-inner > .item > img {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -93,7 +100,7 @@ body {
|
|||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
|
||||||
/* Remve the edge padding needed for mobile */
|
/* Remove the edge padding needed for mobile */
|
||||||
.marketing {
|
.marketing {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
|
Reference in New Issue
Block a user