--- id: 5a9036e138fddaf9a66b5d33 title: Add Rows with grid-template-rows challengeType: 0 videoUrl: '' localeTitle: 使用grid-template-rows添加行 --- ## Description
您在上一次挑战中创建的网格将自动设置行数。要手动调整行,请使用grid-template-rows属性,方法grid-template-columns在先前挑战中使用grid-template-columns方式相同。
## Instructions
在网格中添加两行,每行高50px
## Tests
```yml tests: - text: container类应该有一个grid-template-rows属性,其中两个单元为50px 。 testString: 'assert(code.match(/.container\s*?{[\s\S]*grid-template-rows\s*?:\s*?50px\s*?50px\s*?;[\s\S]*}/gi), "container class should have a grid-template-rows property with two units of 50px.");' ```
## Challenge Seed
```html
1
2
3
4
5
```
## Solution
```js // solution required ```