From 1c66621efde0ed3f0b507dbfeebf4907f8aebe0f Mon Sep 17 00:00:00 2001 From: Henri Maurer Date: Sun, 21 Apr 2019 23:35:17 +0100 Subject: [PATCH] fix typo --- _examples/example17.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/example17.md b/_examples/example17.md index dce3d20..8c75960 100644 --- a/_examples/example17.md +++ b/_examples/example17.md @@ -13,6 +13,6 @@ spec: https://drafts.csswg.org/css-grid/#common-uses-auto-placement example-codepen-embed: '

See the Pen Grid by Example 17: Grid Auto-placement by rachelandrew (@rachelandrew) on CodePen.

' --- -If you declare a Grid on an element and do not position the child elements then the [auto-placememt algorithm](https://drafts.csswg.org/css-grid/#common-uses-auto-placement) dictates what the browser should do about those unplaced grid items. +If you declare a Grid on an element and do not position the child elements then the [auto-placement algorithm](https://drafts.csswg.org/css-grid/#common-uses-auto-placement) dictates what the browser should do about those unplaced grid items. In this example I have a set of 12 boxes. I've used nth-child to switch the background color on the even boxes to make this example clear. I have declared a Grid and created rows and columns but not positioned any of the children. As you can see the boxes all lay out on the Grid despite having no placement assigned to them.