display: flex
。在这里,您将把它添加到嵌入的推文中的几个组件,以开始调整它们的位置。 display: flex
添加到以下所有项目中 - 请注意,选择器已经设置在CSS: header
,标题的.profile-name
,标题的.follow-btn
,标题的h3
和h4
, footer
和页脚的.stats
。 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.");'
```
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