--- id: 587d78ae367417b2b2512afc title: Use the flex-grow Property to Expand Items challengeType: 0 videoUrl: '' localeTitle: استخدم خاصية Flex-grow لتوسيع العناصر --- ## Description
عكس flex-shrink هو خاصية flex-grow . أذكر أن flex-shrink في حجم العناصر عندما تنكمش الحاوية. تتحكم الخاصية flex-grow حجم العناصر عندما يتم توسيع الحاوية الأصل. باستخدام مثال مماثل من التحدي الأخير ، إذا كان أحد العناصر يحتوي على قيمة flex-grow من 1 ، والآخر له قيمة flex-grow 3 ، فإن القيمة ذات القيمة 3 ستنمو بثلاثة أضعاف.
## Instructions
قم بإضافة الخاصية CSS flex-grow إلى كلا #box-1 و #box-2 . Give #box-1 a value of 1 and #box-2 a value of 2.
## Tests
```yml tests: - text: 'يجب أن يحتوي عنصر #box-1 على الخاصية flex-grow set إلى قيمة 1.' testString: 'assert($("#box-1").css("flex-grow") == "1", "The #box-1 element should have the flex-grow property set to a value of 1.");' - text: 'يجب أن يحتوي عنصر #box-2 على الخاصية flex-grow set to a value of 2.' testString: 'assert($("#box-2").css("flex-grow") == "2", "The #box-2 element should have the flex-grow property set to a value of 2.");' ```
## Challenge Seed
```html
```
## Solution
```js // solution required ```