Skip to content

Commit a8061de

Browse files
15 - Naming Lines in CSS Grid Start Files
1 parent 783dd43 commit a8061de

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

15 - Naming Lines in CSS Grid/naming-lines-START.html

+9-3
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,16 @@
4646
.container {
4747
display: grid;
4848
grid-gap: 20px;
49-
grid-template-columns: 1fr 500px 1fr;
50-
grid-template-rows: repeat(10, auto);
49+
grid-template-columns: [sidebar-start site-left] 1fr [sidebar-end content-start] 500px [content-end] 1fr [site-right];
50+
grid-template-rows: [content-top] repeat(10, auto) [content-bottom];
51+
}
52+
53+
.item3 {
54+
background: slateblue;
55+
grid-column: content-start;
56+
grid-row: content-top / content-bottom;
5157
}
5258
</style>
5359
</body>
5460

55-
</html>
61+
</html>

0 commit comments

Comments
 (0)