Stil borderImageWidth Özellik
Örnek
Görüntü kenarlığının genişliklerini belirtin:
document.getElementById("myDIV").style.borderImageWidth = "20px 30px";
Tanım ve Kullanım
borderImageWidth özelliği, görüntü kenarlığının genişliklerini belirtir.
Tarayıcı Desteği
Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.
Property | |||||
---|---|---|---|---|---|
borderImageWidth | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
Bunun yerine borderImage özelliğine bakın !
Sözdizimi
borderImageWidth özelliğini döndürün:
object.style.borderImageWidth
borderImageWidth özelliğini ayarlayın:
object.style.borderImageWidth = "number|%|auto|initial|inherit"
Mülk değerleri
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 |
Teknik detaylar
Varsayılan değer: | 1 |
---|---|
Geri dönüş değeri: | Bir öğenin border-image-width özelliğini temsil eden bir String |
CSS Sürümü | CSS3 |
İlgili Sayfalar
CSS referansı: border-image-width özelliği