--- id: 587d78ab367417b2b2512af3 title: Apply the flex-direction Property to Create Rows in the Tweet Embed challengeType: 0 videoUrl: '' localeTitle: 应用flex-direction属性在Tweet Embed中创建行 --- ## Description
tweet嵌入示例中的headerfooter具有可以使用flex-direction属性排列为行的子项。这告诉CSS水平对齐孩子。
## Instructions
将CSS属性flex-direction添加到headerfooter ,并将值设置为row。
## Tests
```yml tests: - text: header应该将flex-direction属性设置为row。 testString: 'assert(code.match(/header\s*?{[^}]*?flex-direction:\s*?row;/g), "The header should have a flex-direction property set to row.");' - text: footer应将flex-direction属性设置为row。 testString: 'assert(code.match(/footer\s*?{[^}]*?flex-direction:\s*?row;/g), "The footer should have a flex-direction property set to row.");' ```
## Challenge Seed
```html
Quincy Larson's profile picture

Quincy Larson

@ossia

I meet so many people who are in search of that one trick that will help them work smart. Even if you work smart, you still have to work hard.

1:32 PM - 12 Jan 2018
```
## Solution
```js // solution required ```