File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 4
4
< link href ="css/grid.css " rel ="stylesheet ">
5
5
< style >
6
6
.grid {
7
- grid-auto-flow : row;
8
- grid-auto-rows : 50px ;
9
- grid-auto-columns : 100px ;
7
+ -ms-grid-columns : 100px 100px ;
8
+ -webkit-grid-definition-columns : 100px 100px ;
9
+ -webkit-grid-template-columns : 100px 100px ;
10
+ grid-definition-columns : 100px 100px ;
11
+ grid-template-columns : 100px 100px ;
12
+ -ms-grid-rows : 50px 50px ;
13
+ -webkit-grid-definition-rows : 50px 50px ;
14
+ -webkit-grid-template-rows : 50px 50px ;
15
+ grid-definition-rows : 50px 50px ;
16
+ grid-template-rows : 50px 50px ;
10
17
}
11
18
</ style >
12
19
</ head >
13
20
< body >
14
21
< div class ="grid ">
15
22
< div class ="row1-column1 "> item 1</ div >
16
23
< div class ="row1-column2 "> item 2</ div >
17
- < div > auto1</ div >
18
- < div > auto2</ div >
19
- < div > auto3</ div >
20
- < div > auto4</ div >
21
- < div class ="row1-columnauto "> row1</ div >
24
+ < div class ="row2-column1 "> item 3</ div >
25
+ < div class ="row2-column2 "> item 4</ div >
22
26
</ div >
23
27
</ body >
24
28
</ html >
You can’t perform that action at this time.
0 commit comments