Skip to content

Commit bdc9358

Browse files
committed
examples including named grid lines syntax change now work in Canary.
1 parent de87ab7 commit bdc9358

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ch2-boxy-hover.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif; font-size: 32px; font-style: normal; font-variant: normal; font-weight: 500;
99
text-align: center;
1010
}
11-
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; }
11+
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; max-height: 100%;}
1212
img:hover { z-index: 10;
1313
box-shadow: 10px 10px 20px 0px rgba(0,0,0,0.75);
1414
}

ch2-boxy.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif; font-size: 32px; font-style: normal; font-variant: normal; font-weight: 500;
99
text-align: center;
1010
}
11-
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; }
11+
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; max-height: 100%; }
1212

1313

1414
.wrapper {

ch3-boxy.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
font-family: Optima,Segoe,Segoe UI,Candara,Calibri,Arial,sans-serif; font-size: 32px; font-style: normal; font-variant: normal; font-weight: 500;
99
text-align: center;
1010
}
11-
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; margin-bottom: 20px; }
11+
img { object-fit: cover; border-radius: 10px ; display: block; max-width: 100%; max-height: 100%; margin-bottom: 20px; }
1212

1313
@media only screen and (min-width: 720px) {
1414
.wrapper {
1515
display: grid;
1616
grid-template-columns: repeat(13, [gutter] 10px [col] 1fr) ;
17-
grid-template-rows: (row) auto repeat(13, [gutter] 10px [row] 60px);
17+
grid-template-rows: [row] auto repeat(13, [gutter] 10px [row] 60px);
1818
}
1919

2020
header {

0 commit comments

Comments
 (0)