]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use new gradient syntax in justified nav example; fixes #16598
authorKevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
Mon, 8 Jun 2015 08:34:46 +0000 (01:34 -0700)
committerChris Rebert <code@rebertia.com>
Mon, 8 Jun 2015 08:44:32 +0000 (01:44 -0700)
Closes #16599 by merging a tweaked version of it.

docs/examples/justified-nav/justified-nav.css

index f8fcf5d134ba331c051222dcb3b7eefa35d30e03..7ba9cd75ea4277b4cb384e3b31c5593961ccd79a 100644 (file)
@@ -37,8 +37,7 @@ body {
   background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e5e5e5));
   background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
   background-image:      -o-linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
-  background-image: -webkit-gradient(linear, left top, left bottom, from(top), color-stop(0%, #f5f5f5), to(#e5e5e5));
-  background-image:         linear-gradient(top, #f5f5f5 0%, #e5e5e5 100%);
+  background-image:         linear-gradient(to bottom, #f5f5f5 0%,#e5e5e5 100%);
   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
   background-repeat: repeat-x; /* Repeat the gradient */
   border-bottom: 1px solid #d5d5d5;