--- id: 587d78ac367417b2b2512af7 title: Use the justify-content Property in the Tweet Embed challengeType: 0 videoUrl: 'https://scrimba.com/p/pVaDAv/c43GgTa' forumTopicId: 301115 localeTitle: 在推文中使用 justify-content 属性 --- ## Description
上一项挑战展示了justify-content属性的作用。如果我们想对齐推文内的子元素,可以把justify-content应用在.profile-name上。
## Instructions
在 header 的.profile-name元素添加 CSS 属性justify-content,把它的值设为上面挑战提到的任意可用值。
## Tests
```yml tests: - text: '.profile-name元素的justify-content属性可选以下值:center、flex-start、flex-end、space-between、space-around。' testString: 'assert(code.match(/header\s.profile-name\s*{\s*?.*?\s*?.*?\s*?\s*?.*?\s*?justify-content\s*:\s*(center|flex-start|flex-end|space-between|space-around|space-evenly)\s*;/g));' ```
## 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
```html // solution required ```