스타일 borderImageOutset 속성
예시
<div> 요소의 가장자리 외부에 테두리를 배치합니다.
document.getElementById("myDIV").style.borderImageOutset = "5px 10px 20px 15px";
정의 및 사용
borderImageOutset 속성은 테두리 이미지 영역이 테두리 상자를 넘어 확장되는 양을 설정하거나 반환합니다.
브라우저 지원
표의 숫자는 속성을 완전히 지원하는 첫 번째 브라우저 버전을 지정합니다.
Property | |||||
---|---|---|---|---|---|
borderImageOutset | Yes | 11.0 | Yes | 6.0 | 15.0 11.0 O |
대신 borderImage 속성을 보십시오 !
통사론
borderImageOutset 속성을 반환합니다.
object.style.borderImageOutset
borderImageOutset 속성을 설정합니다.
object.style.borderImageOutset = "length|number|initial|inherit"
참고: borderImageOutset 속성은 테두리 이미지 영역이 테두리 상자를 넘어 확장되는 양을 지정합니다. 위쪽, 오른쪽, 아래쪽 및 왼쪽에 있습니다. 네 번째 값이 생략되면 두 번째 값과 동일합니다. 세 번째도 생략하면 첫 번째와 동일합니다. 두 번째 항목도 생략하면 첫 번째 항목과 동일합니다. 어떤 borderImageOutset 값에도 음수 값이 허용되지 않습니다.
속성 값
Value | Description |
---|---|
length | A length unit specifying how far from the edges the border-image will appear. Default value is 0 |
number | Represent multiples of the corresponding border-width |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
기술적 세부 사항
기본값: | 0 |
---|---|
반환 값: | 요소의 border-image-outset 속성을 나타내는 String |
CSS 버전 | CSS3 |
관련 페이지
CSS 참조: border-image-outset 속성