Skip to content

Commit bd1bb6e

Browse files
committed
Completed Sizing Grid Columns and Rows
1 parent 8e38f7a commit bd1bb6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

myWork/04-CSS-Layouts/CSSGrid/css-grid.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141

4242
/* CSS GRID */
4343
display: grid;
44-
grid-template-columns: 250px 150px;
44+
/* grid-template-columns: 1fr 1fr 1fr 1fr; */
45+
grid-template-columns: repeat(4, 1fr);
46+
grid-template-rows: repeat(2, auto);
4547

4648
column-gap: 20px;
4749
row-gap: 10px;

0 commit comments

Comments
 (0)