---
id: 587d78af367417b2b2512b00
title: Use the align-self Property
challengeType: 0
videoUrl: ''
localeTitle: استخدم خاصية self-align
---
## Description
الخاصية النهائية للعناصر المرنة هي align-self
. تتيح لك هذه الخاصية ضبط محاذاة كل عنصر على حدة ، بدلاً من ضبطها كلها مرة واحدة. وهذا مفيد لأن تقنيات التعديل الشائعة الأخرى التي تستخدم خصائص CSS float
و clear
و vertical-align
لا تعمل على العناصر المرنة. align-self
يقبل نفس القيم كعناصر align-items
وسيتجاوز أي قيمة تم تعيينها بواسطة الخاصية align-items
.
## Instructions
undefined
## Tests
```yml
tests:
- text: 'يجب أن يحتوي عنصر #box-1
على خاصية align-self
set to a value of center.'
testString: 'assert($("#box-1").css("align-self") == "center", "The #box-1
element should have the align-self
property set to a value of center.");'
- text: 'يجب أن يحتوي عنصر #box-2
على الخاصية align-self
set to a value of flex-end.'
testString: 'assert($("#box-2").css("align-self") == "flex-end", "The #box-2
element should have the align-self
property set to a value of flex-end.");'
```
## Challenge Seed
## Solution
```js
// solution required
```