栅格布局演示

item1
item2
item3
item4
item5
display
grid
inline-grid
grid-template-columns
none
1fr 1fr
grid-template-rows
none
1fr 1fr
【item1】grid-area
1/1/3/3
auto
【item1】z-index
1
auto
【item2】grid-area
2/2/4/4
auto