Skip to content

Commit 745e858

Browse files
[css-grid-1] Specify height in example 8 for #grid (w3c#5968)
I would specify the height property in example 8 of the Grid Areas chapter for `#grid`. This makes it easy to see the differences between `align-self: start;` and `align-self: end;` for newcomers. Otherwise, it's may not so clear how `align-self: start;` and `align-self: end;` styles work if you try to run this snippet. [3.3. Grid Areas](https://www.w3.org/TR/css-grid-1/#grid-area-concept)
1 parent e47293d commit 745e858

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-grid-1/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,7 @@ Grid Areas</h3>
704704
". a";
705705
grid-template-columns: 150px 1fr;
706706
grid-template-rows: 50px 1fr 50px;
707+
height: 100vh;
707708
}
708709

709710
#item1 { grid-area: a }

0 commit comments

Comments
 (0)