@@ -2,16 +2,17 @@ import React from 'react';
2
2
import Main from '../components/layout/Main' ;
3
3
import CodeBlock from '../components/CodeBlock' ;
4
4
import DevHomework from '../components/layout/DevHomework' ;
5
+ import CodepenLink from '../components/CodepenLink' ;
5
6
6
7
const Tutorial = ( ) => (
7
8
< div >
8
9
< h2 > Named Lines</ h2 >
9
10
10
11
< p >
11
12
In a previous example, we learned how to place an item on the grid by providing the { ' ' }
12
- < code > grid-column</ code > and < code > grid-row properties</ code > with specific grid lines.
13
- We can also name some or all of those grid lines when defining a grid. This allows us to
14
- use those names instead of grid lines. To name a grid line, simply add the name in square brackets:
13
+ < code > grid-column</ code > and < code > grid-row properties</ code > with specific grid lines. We can
14
+ also name some or all of those grid lines when defining a grid. This allows us to use those
15
+ names instead of grid lines. To name a grid line, simply add the name in square brackets:
15
16
</ p >
16
17
17
18
< p > To name a grid line, we simply provide the name in square brackets:</ p >
@@ -102,6 +103,7 @@ const Tutorial = () => (
102
103
< div className = "item content-3-9" > Content-3</ div >
103
104
< div className = "item footer-9" > footer</ div >
104
105
</ div >
106
+ < CodepenLink link = "https://codepen.io/mozilladevelopers/pen/dVpQVV" />
105
107
</ div >
106
108
) ;
107
109
@@ -112,7 +114,10 @@ const Homework = () => (
112
114
example is on a white background, and the default purple may not be the best color to use.
113
115
When selecting an overlay grid to display, you will see a circle next to the grid name that
114
116
indicates the color of the overlay. Click on that circle, and you can customize the color to
115
- whatever you'd like. Try a different color, such as red.
117
+ whatever you'd like. Try a different color, such as red. Don't have Firefox?{ ' ' }
118
+ < a href = "https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly" >
119
+ Download Firefox Nightly
120
+ </ a > .
116
121
</ p >
117
122
</ DevHomework >
118
123
) ;
0 commit comments