스타일 columnRule 속성
예시
열 사이의 규칙의 너비, 스타일 및 색상을 지정합니다.
document.getElementById("myDIV").style.columnRule = "3px outset blue";
정의 및 사용
columnRule 속성은 모든 columnRule 속성을 설정하기 위한 약식 속성입니다.
columnRule 속성은 열 사이의 규칙의 너비, 스타일 및 색상을 설정합니다.
열 규칙 속성은 순서에 관계없이 다음과 같습니다.
columnRuleColor
columnRuleStyle
columnRuleWidth
브라우저 지원
Property | |||||
---|---|---|---|---|---|
columnRule | 50.0 | 10.0 | 52.0 | 10.0 | 37.0 |
통사론
columnRule 속성을 반환합니다.
object.style.columnRule
columnRule 속성을 설정합니다.
object.style.columnRule = "column-rule-width column-rule-style column-rule-color|initial|inherit"
속성 값
Value | Description |
---|---|
columnRuleWidth | Sets the width of the rule between columns. Default value is medium |
columnRuleStyle | Sets the style of the rule between columns. Default value is none |
columnRuleColor | Sets the color of the rule between columns. Default value is the color of the element |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
기술적 세부 사항
기본값: | 중간 색상 없음 |
---|---|
반환 값: | 요소의 열 규칙 속성을 나타내는 문자열 |
CSS 버전 | CSS3 |
관련 페이지
CSS3 튜토리얼: CSS3 다중 열
CSS 참조: 열 규칙 속성
❮ 스타일 개체