• 회원가입
  • 로그인
  • 구글아이디로 로그인

[border] CSS - border-block-end-width 속성 - 블락방향 끝테두리 너비(=두께) 지정 (= border-block-end-width속성 = 보더블락엔드위드스속성/보더블럭엔드위드스속성/보더블록엔드위드스속성)

목차
  1. border-block-end-width 예제 - 블락방향 끝테두리 너비 지정
  2. border-block-end-width 정의
  3. border-block-end-width 구문
  4. border-block-end-width 예제 - writing-mode 속성으로 블락방향 변경

 

border-block-end-width 예제 - 블락방향 끝테두리 너비 지정

 

<style> 

div {

  background-color: pink;

  inline-size: 30%;

  border-block-end-width: 10px;

  border-block-end-style: dotted;

  border-block-end-color: hotpink;

}

</style>


<div>

  <p>홈짱닷컴 Homzzang.com</p>

</div>


결과보기

 

border-block-end-width 정의

 

블락방향 끝테두리 너비(=두께) 지정.

 

cf.

 


 

1.

  • border-block-end-style 속성은 필수. (cf. border-block-end-width 속성과 border-block-end-color 속성은 선택사항)
  • writing-mode 속성값에 따라 블락(block) 방향 결정됨. (예) 영어처럼 writing-mode가 가로 방향이면, 블락(block)은 아래쪽 방향이고, 인라인(inline)은 왼쪽에서 오른쪽으로임.

 

2. cf.

 

3.

  • 기본값: medium
  • 상속여부: X
  • 애니가능: O
  • CSS버전: CSS3
  • JS구문: object.style.borderBlockEndWidth="10px";

 

4.

IE 제외한 주요 최신 브라우저 모두 지원.

 

5. MDN border-block 예제보기

https://developer.mozilla.org/en-US/docs/Web/CSS/border-block-end-width

 

 

border-block-end-width 구문

 

selector {border-block-end-width: medium|thin|thick|length|initial|inherit;}

 


[속성값]

 

midium

중간 두께 (3px) (기본값)


thin

얇은 두께 (1px)

 

thick

굵은 두께 (5px)

 

length

px, cm, % 등 길이 단위값 (예) 5px 

 

initial

이 속성의 기본값으로 자동설정. 

 

inherit

부모 요소로부터 속성값 상속 


※ 주의

  • none : 이런 속성값 존재 X
  • 테두리 없애려면, 숫자 0 사용(예: border-width:0)하거나 border-style:none 사용.


 

border-block-end-width 예제 - writing-mode 속성으로 블락방향 변경

 

<style> 

div {

  background-color: pink;

  inline-size: 50%;

  padding: 10px;

  border-block-width: 5px;

  writing-mode: vertical-rl;

  border-block-end-style: dotted;

}

</style>


<div>

  <p>홈짱닷컴 Homzzang.com</p>

</div>

 

결과보기


방문 감사합니다. (즐겨찾기 등록: Ctrl + D)

분류 제목
border CSS - border-radius 속성 ★ - 테두리둥글기 지정 (= border-radius속성 = 보더…
border CSS - border-top-left-radius 속성 - 테두리상단왼쪽둥글기 지정 (= 보더탑레프트레이디…
border CSS - border-top-right-radius 속성 - 테두리상단우측둥글기 지정 (= 보더탑라이트레이…
border CSS - border-bottom-right-radius 속성 - 테두리 하단 오른쪽 모서리 둥글게 (= …
border CSS - border-bottom-left-radius 속성 - 테두리하단왼쪽모서리둥글게 (= border…
border CSS - border-image 속성 - 테두리이미지 (= border-image속성 = 보더이미지속성, …
border CSS - border-image-source 속성 - 테두리 이미지 주소 (= border-image-so…
border CSS - border-image-slice 속성 - 테두리이미지자르기 (IE11)
border CSS - border-image-width 속성 - 테두리 이미지 너비 (= border-image-wid…
border CSS - border-image-outset 속성 - 테두리 경계 넘는 이미지 양. (= 보더이미지아웃셋속…
border CSS - border-image-repeat 속성 - 테두리 이미지 반복할지 늘릴지 선택 (= 보더이미지리…
border CSS - border-block 속성 - 블락방향 테두리 스타일 일괄 지정 (= border-block속성…
border CSS - border-block-color 속성 - 블락방향 테두리 색상 일괄 지정 (= border-bl…
border CSS - border-block-end 속성 - 블락방향 끝테두리 스타일 일괄 지정 (= border-bl…
border CSS - border-block-end-color 속성 - 블락방향 끝테두리 색상 지정 (= border-…
border CSS - border-block-end-style 속성 - 블락방향 끝테두리 모양 지정 (= border-…
border CSS - border-block-end-width 속성 - 블락방향 끝테두리 너비(=두께) 지정 (= bo…
border CSS - border-block-start 속성 - 블락방향 시작테두리 스타일 일괄 지정 (= border…
border CSS - border-block-start-color 속성 -
border CSS - border-block-start-style 속성 - 블락방향 시작테두리 모양 지정 (= bord…
2/3
목록
찾아주셔서 감사합니다. Since 2012