CSS border-bottom-style 속성
예시
하단 테두리의 스타일 설정:
div {border-bottom-style: dotted;}
아래에서 더 많은 "직접 사용해 보기" 예를 살펴보세요.
정의 및 사용
속성 은 border-bottom-style
요소의 아래쪽 테두리 스타일을 설정합니다.
기본값: | 없음 |
---|---|
상속: | 아니요 |
애니메이션 가능: | 아니요. 애니메이션 가능 에 대해 읽기 |
버전: | CSS1 |
자바스크립트 구문: | 개체 .style.borderBottomStyle="점선" |
브라우저 지원
표의 숫자는 속성을 완전히 지원하는 첫 번째 브라우저 버전을 지정합니다.
Property | |||||
---|---|---|---|---|---|
border-bottom-style | 1.0 | 5.5 | 1.0 | 1.0 | 9.2 |
CSS 구문
border-bottom-style: none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit;
속성 값
Value | Description | Play it |
---|---|---|
none | Specifies no border. This is default | |
hidden | The same as "none", except in border conflict resolution for table elements | |
dotted | Specifies a dotted border | |
dashed | Specifies a dashed border | |
solid | Specifies a solid border | |
double | Specifies a double border | |
groove | Specifies a 3D grooved border. The effect depends on the border-color value | |
ridge | Specifies a 3D ridged border. The effect depends on the border-color value | |
inset | Specifies a 3D inset border. The effect depends on the border-color value | |
outset | Specifies a 3D outset border. The effect depends on the border-color value | |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
더 많은 예
예시
파선 하단 테두리:
div {border-bottom-style: dashed;}
예시
단단한 바닥 테두리:
div {border-bottom-style: solid;}
예시
이중 바닥 테두리:
div {border-bottom-style: double;}
예시
하단 테두리 제거:
div {border-bottom-style: none;}
예시
도랑 바닥 경계:
div {
border-bottom-style: groove;
border-bottom-color: coral;
border-bottom-width: 7px;
}
예시
능저보더:
div {
border-bottom-style: ridge;
border-bottom-color: coral;
border-bottom-width: 7px;
}
예시
삽입 하단 테두리:
div {
border-bottom-style: inset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
예시
밑바닥 보더:
div {
border-bottom-style: outset;
border-bottom-color: coral;
border-bottom-width: 7px;
}
관련 페이지
CSS 튜토리얼: CSS 테두리
CSS 참조: border-bottom 속성
HTML DOM 참조: borderBottomStyle 속성