스타일 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 속성을 나타내는 String |
CSS 버전 | CSS3 |
관련 페이지
CSS 참조: border-image-width 속성