CSS 고아 속성
예시
인쇄할 때 각 페이지의 하단에 최소 4줄, 상단에 2줄을 표시합니다.
@media print {
orphans: 4;
widows: 2;
}
정의 및 사용
속성 은 orphans
페이지 또는 열의 맨 아래에 남겨야 하는 최소 줄 수를 지정합니다.
팁: 또한 속성 을 살펴보십시오 .
widows
브라우저 지원
표의 숫자는 속성을 완전히 지원하는 첫 번째 브라우저 버전을 지정합니다.
Property | |||||
---|---|---|---|---|---|
orphans | 25.0 | 8.0 | Not supported | 3.1 | 10.0 |
CSS 구문
orphans: integer|initial|inherit;
속성 값
Value | Description |
---|---|
integer | Specifies the minimum number of lines that must be left at the bottom of a page or column. Negative values are not allowed |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |