mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-02 02:29:24 +01:00
Add background-color to carousel.
Set a background color for the carousel example so that white text is now legible. Also fixed typo on line 97.
This commit is contained in:
parent
5639287d5d
commit
8b24c47788
@ -38,6 +38,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 +94,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user