Gaya borderImageWidth Properti
Contoh
Tentukan lebar batas gambar:
document.getElementById("myDIV").style.borderImageWidth = "20px 30px";
Definisi dan Penggunaan
Properti borderImageWidth menentukan lebar batas gambar.
Dukungan Peramban
Angka-angka dalam tabel menentukan versi browser pertama yang sepenuhnya mendukung properti.
Property | |||||
---|---|---|---|---|---|
borderImageWidth | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
Lihat properti borderImage saja!
Sintaksis
Kembalikan properti borderImageWidth:
object.style.borderImageWidth
Setel properti borderImageWidth:
object.style.borderImageWidth = "number|%|auto|initial|inherit"
Nilai properti
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 |
Detail Teknis
Nilai Bawaan: | 1 |
---|---|
Nilai Kembali: | Sebuah String, mewakili properti border-image-width dari sebuah elemen |
Versi CSS | CSS3 |
Halaman Terkait
Referensi CSS: properti border-image-width