--- id: 587d78ab367417b2b2512af1 title: Add Flex Superpowers to the Tweet Embed challengeType: 0 videoUrl: '' localeTitle: 添加Flex Superpowers到Tweet Embed --- ## Description
右侧是推文嵌入,将用作实际示例。使用不同的布局,一些元素看起来会更好。最后的挑战展示了display: flex 。在这里,您将把它添加到嵌入的推文中的几个组件,以开始调整它们的位置。
## Instructions
将CSS属性display: flex添加到以下所有项目中 - 请注意,选择器已经设置在CSS: header ,标题的.profile-name ,标题的.follow-btn ,标题的h3h4footer和页脚的.stats
## Tests
```yml tests: - text: 您的header应该具有设置为flex的display属性。 testString: 'assert($("header").css("display") == "flex", "Your header should have a display property set to flex.");' - text: 您的footer应该具有设置为flex的display属性。 testString: 'assert($("footer").css("display") == "flex", "Your footer should have a display property set to flex.");' - text: 你的h3应该有一个display属性设置为flex。 testString: 'assert($("h3").css("display") == "flex", "Your h3 should have a display property set to flex.");' - text: 你的h4应该有一个display属性设置为flex。 testString: 'assert($("h4").css("display") == "flex", "Your h4 should have a display property set to flex.");' - text: 您的.profile-name应该将display属性设置为flex。 testString: 'assert($(".profile-name").css("display") == "flex", "Your .profile-name should have a display property set to flex.");' - text: 你的.follow-btn应该有一个display属性设置为flex。 testString: 'assert($(".follow-btn").css("display") == "flex", "Your .follow-btn should have a display property set to flex.");' - text: 您的.stats应该将display属性设置为flex。 testString: 'assert($(".stats").css("display") == "flex", "Your .stats should have a display property set to flex.");' ```
## 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 ```