---
id: 587d78ad367417b2b2512af9
title: align-items プロパティを埋め込みツイートで使用
challengeType: 0
videoUrl: 'https://scrimba.com/p/pVaDAv/cd3PNfq'
forumTopicId: 301106
dashedName: use-the-align-items-property-in-the-tweet-embed
---
# --description--
前回のチャレンジでは `align-items` プロパティを導入し、例を紹介しました。 このプロパティを埋め込みツイートのいくつかの要素に適用して、その中にあるフレックスアイテムを整列させることができます。
# --instructions--
CSS プロパティ `align-items` をヘッダーの `.follow-btn` 要素に追加してください。 値は `center` に設定します。
# --hints--
`.follow-btn` がページ上に表示されている必要があります。 必ず広告ブロッカーなどの拡張機能をオフにしてください。
```js
assert($('.follow-btn').length > 0 && $('.follow-btn').css('display') !== 'none');
```
`.follow-btn` 要素の `align-items` プロパティを `center` に設定してください。
```js
assert($('.follow-btn').css('align-items') == 'center');
```
# --seed--
## --seed-contents--
```html
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 2018I 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