Styl borderImageWidth Vlastnost
Příklad
Určete šířky ohraničení obrázku:
document.getElementById("myDIV").style.borderImageWidth = "20px 30px";
Definice a použití
Vlastnost borderImageWidth určuje šířky ohraničení obrázku.
Podpora prohlížeče
Čísla v tabulce určují první verzi prohlížeče, která plně podporuje vlastnost.
Property | |||||
---|---|---|---|---|---|
borderImageWidth | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
Místo toho se podívejte na vlastnost borderImage !
Syntax
Vraťte vlastnost borderImageWidth:
object.style.borderImageWidth
Nastavte vlastnost borderImageWidth:
object.style.borderImageWidth = "number|%|auto|initial|inherit"
Hodnoty vlastností
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 |
Technické údaje
Výchozí hodnota: | 1 |
---|---|
Návratová hodnota: | Řetězec představující vlastnost border-image-width prvku |
Verze CSS | CSS3 |
Související stránky
CSS reference: vlastnost border-image-width