शैली सीमाछविविड्थ संपत्ति
उदाहरण
छवि-सीमा की चौड़ाई निर्दिष्ट करें:
document.getElementById("myDIV").style.borderImageWidth = "20px 30px";
परिभाषा और उपयोग
BorderImageWidth प्रॉपर्टी इमेज-बॉर्डर की चौड़ाई निर्दिष्ट करती है।
ब्राउज़र समर्थन
तालिका में संख्याएं पहले ब्राउज़र संस्करण को निर्दिष्ट करती हैं जो पूरी तरह से संपत्ति का समर्थन करता है।
Property | |||||
---|---|---|---|---|---|
borderImageWidth | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
इसके बजाय सीमा छवि संपत्ति देखें !
वाक्य - विन्यास
सीमा छविविड्थ संपत्ति लौटाएं:
object.style.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 |
---|---|
प्रतिलाभ की मात्रा: | एक स्ट्रिंग, एक तत्व की सीमा-छवि-चौड़ाई संपत्ति का प्रतिनिधित्व करती है |
सीएसएस संस्करण | CSS3 |
संबंधित पृष्ठ
सीएसएस संदर्भ: सीमा-छवि-चौड़ाई संपत्ति