From e208774fc1b301b96e65997dd0fca92c94ac20fb Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 26 Jul 2021 10:45:10 -0500 Subject: Clean up a couple CSS Grid issues (#34572) - Moves the make-cssgrid() mixin to the grid mixins stylesheet - Updates the g-start-* classes to start at 1 instead of 0 as 0 is an invalid value (fixes #34399) Co-authored-by: XhmikosR --- site/content/docs/5.0/layout/css-grid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'site/content/docs/5.0') diff --git a/site/content/docs/5.0/layout/css-grid.md b/site/content/docs/5.0/layout/css-grid.md index e6165fc561..424167839d 100644 --- a/site/content/docs/5.0/layout/css-grid.md +++ b/site/content/docs/5.0/layout/css-grid.md @@ -91,7 +91,7 @@ Grid items automatically wrap to the next line when there's no more room horizon ## Starts -Start classes aim to replace our default grid's offset classes, but they're not entirely the same. CSS Grid creates a grid template through styles that tell browsers to "start at this column" and "end at this column." Those properties are `grid-column-start` and `grid-column-end`. Start classes are shorthand for the former. Pair them with the column classes to size and align your columns however you need. +Start classes aim to replace our default grid's offset classes, but they're not entirely the same. CSS Grid creates a grid template through styles that tell browsers to "start at this column" and "end at this column." Those properties are `grid-column-start` and `grid-column-end`. Start classes are shorthand for the former. Pair them with the column classes to size and align your columns however you need. Start classes begin at `1` as `0` is an invalid value for these properties. {{< example class="bd-example-cssgrid" >}}
-- cgit v1.2.3