نمط الخاصية borderImageWidth
مثال
حدد عروض حد الصورة:
document.getElementById("myDIV").style.borderImageWidth = "20px 30px";
التعريف والاستخدام
تحدد الخاصية borderImageWidth عروض حدود الصورة.
دعم المتصفح
تحدد الأرقام الواردة في الجدول إصدار المتصفح الأول الذي يدعم الخاصية بالكامل.
Property | |||||
---|---|---|---|---|---|
borderImageWidth | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
انظر إلى خاصية borderImage بدلاً من ذلك!
بناء الجملة
قم بإرجاع خاصية borderImageWidth:
object.style.borderImageWidth
قم بتعيين الخاصية borderImageWidth:
object.style.borderImageWidth = "number|%|auto|initial|inherit"
قيم الملكية
Value | Description |
---|---|
length | A length unit (px) specifying the size of the border-width |
number | Default value 1. Represents multiples of the corresponding border-width |
% | Refers to the size of the border image area: the width of the area for horizontal offsets, the height for vertical offsets |
auto | If specified, the width is the intrinsic width or height of the corresponding image slice |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
تفاصيل تقنية
القيمة الافتراضية: | 1 |
---|---|
قيمة الإرجاع: | سلسلة ، تمثل الخاصية border-image-width لعنصر |
إصدار CSS | CSS3 |
الصفحات ذات الصلة
مرجع CSS: خاصية border-image-width