点击运行
grid-template 属性
grid-template 属性还可以使用命名的网格项目来规定行/列。
如需规定两行,请设置更多序列。
每行由撇号(' ')定义。
"myArea" 将在前两行中横跨前两列:
1
2
3
4
5
6
7
8
9
10
11
12
运行结果