mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +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 */
|
||||
.carousel .item {
|
||||
height: 500px;
|
||||
background-color: #777;
|
||||
}
|
||||
.carousel-inner > .item > img {
|
||||
position: absolute;
|
||||
@ -93,7 +94,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;
|
||||
|
Loading…
Reference in New Issue
Block a user