]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add background-color to carousel.
authoral // @idest <cmdoptesc@users.noreply.github.com>
Mon, 19 Aug 2013 07:49:28 +0000 (00:49 -0700)
committeral // @idest <cmdoptesc@users.noreply.github.com>
Mon, 19 Aug 2013 07:49:28 +0000 (00:49 -0700)
Set a background color for the carousel example so that white text is now legible. Also fixed typo on line 97.

examples/carousel/carousel.css

index 452fdfeed2b8c4171ae7655193eda19ea31be818..cdcbe2f7856583685704ae0c4e29f6477aa808b8 100644 (file)
@@ -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;