]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update grid vars docs
authorMark Otto <markdotto@gmail.com>
Sat, 6 Feb 2016 21:02:28 +0000 (13:02 -0800)
committerMark Otto <markdotto@gmail.com>
Sat, 6 Feb 2016 21:02:28 +0000 (13:02 -0800)
docs/layout/grid.md

index b0e00a396e6e1bd8c078a8ce38cf489da2502355..d43f6e8abbd813c965e51bd6ade885c973d9546c 100644 (file)
@@ -135,9 +135,12 @@ When using Bootstrap's source Sass files, you have the option of using Sass vari
 
 ### Variables
 
-Variables determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.
+Variables and maps determine the number of columns, the gutter width, and the media query point at which to begin floating columns. We use these to generate the predefined grid classes documented above, as well as for the custom mixins listed below.
 
 {% highlight scss %}
+$grid-columns:      12;
+$grid-gutter-width: 15px;
+
 $grid-breakpoints: (
   // Extra small screen / phone
   xs: 0,
@@ -151,9 +154,12 @@ $grid-breakpoints: (
   xl: 1200px
 );
 
-
-$grid-columns:      12;
-$grid-gutter-width: 1.875rem;
+$container-max-widths: (
+  sm: 576px,
+  md: 720px,
+  lg: 940px,
+  xl: 1140px
+) !default;
 {% endhighlight %}
 
 ### Mixins