width
في CSS. يمكن إعطاء القيم في وحدات الطول النسبي (مثل em) ، أو وحدات الطول المطلقة (مثل px) ، أو كنسبة مئوية من عنصر الأصل الذي يحتوي عليه. في ما يلي مثال يغير عرض الصورة إلى 220 بكسل: img {
العرض: 220 بكسل ؛
}
width
للبطاقة بأكملها وتعيينها إلى قيمة مطلقة تبلغ 245 بكسل. استخدم فئة fullCard
لتحديد العنصر. width
للبطاقة إلى 245 بكسل باستخدام محدد فئة fullCard
.
testString: 'assert(code.match(/.fullCard\s*{[\s\S][^}]*\n*^\s*width\s*:\s*245px\s*;/gm), "Your code should change the width
property of the card to 245 pixels by using the fullCard
class selector.");'
```
Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.