---
id: 587d78a5367417b2b2512ad9
title: Use the CSS Transform scale Property to Change the Size of an Element
challengeType: 0
videoUrl: ''
localeTitle: استخدم خاصية مقياس تحويل CSS لتغيير حجم عنصر
---
## Description
لتغيير مقياس عنصر ما ، يحتوي CSS على خاصية transform ، إلى جانب الدالة scale() . مثال الكود التالي يضاعف حجم جميع عناصر الفقرة في الصفحة: ص {
تحويل: مقياس (2)؛
}
## Instructions
زيادة حجم العنصر مع معرف ball2 إلى 1.5 مرة حجمها الأصلي.
## Tests
```yml
tests:
- text: '#ball2 خاصية transform لـ #ball2 حجمها 1.5 مرة حجمها.'
testString: 'assert(code.match(/#ball2\s*?{\s*?left:\s*?65%;\s*?transform:\s*?scale\(1\.5\);\s*?}|#ball2\s*?{\s*?transform:\s*?scale\(1\.5\);\s*?left:\s*?65%;\s*?}/gi), "Set the transform property for #ball2 to scale it 1.5 times its size.");'
```
## Challenge Seed
## Solution
```js
// solution required
```