--- id: 587d78af367417b2b2512b00 title: Use the align-self Property challengeType: 0 videoUrl: https://scrimba.com/p/pVaDAv/cMbvzfv forumTopicId: 301107 localeTitle: Использовать свойство align-self --- ## Description
Конечным свойством для элементов flex является align-self . Это свойство позволяет настраивать выравнивание каждого элемента отдельно, вместо того, чтобы устанавливать их все одновременно. Это полезно, так как другие общие методы настройки с использованием свойств CSS float , clear и vertical-align не работают на гибких элементах. align-self принимает те же значения, что и align-items и отменяет любое значение, заданное свойством align-items .
## Instructions
Добавьте свойство CSS align-self в #box-1 и #box-2 . Дайте #box-1 значение центра и дайте #box-2 значение flex-end.
## Tests
```yml tests: - text: The #box-1 element should have the align-self property set to a value of center. testString: assert($('#box-1').css('align-self') == 'center'); - text: The #box-2 element should have the align-self property set to a value of flex-end. testString: assert($('#box-2').css('align-self') == 'flex-end'); ```
## Challenge Seed
```html
```
## Solution
```html
```