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

[border] CSS - border-bottom-right-radius 속성 - 테두리 하단 오른쪽 모서리 둥글게 (= border-bottom-right-radius속성 = 보더바텀라이트레이디어스속성)

목차

  1. border-bottom-right-radius 예제 - 테두리 하단 오른쪽 둥글게
  2. border-bottom-right-radius 정의
  3. border-bottom-right-radius 구문
  4. border-bottom-right-radius 예제 - 애니메이션 효과 적용

 

border-bottom-right-radius 예제 - 테두리 하단 오른쪽 둥글게


<style> 

div {    

    padding: 20px;

    width:200px;

    height:200px;

    line-height:200px;

    text-align:center;

    border: 2px solid;

    border-bottom-right-radius: 5em;

}

</style>


<div>홈짱닷컴 (Homzzang.com)</div>


결과보기

 

border-bottom-right-radius 정의


테두리 하단 오른쪽 모서리를 둥글게 함.

 



1. cf.


2.

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

3.
IE9 이상 주요 최신브라우저 지원.

4. MDN border-bottom-right-radius 예제보기
https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius


 

border-bottom-right-radius 구문

 

selector {border-bottom-right-radius: length [length] | initial | inherit;}

 


[속성값]


length

둥글게 처리할 길이 단위(예: px, % 등) 지정.

  • 가로 세로 둥글기가 다른 경우 띄어쓰기(=공백)으로 구분.
  • 값이 1개인 경우: 가로 세로 동일 지정. (예) border-bottom-right-radius: 5px  :   가로세로 둘다 5px로 설정. 
  • 값이 2개인 경우: 가로 세로 개별 지정. (예) border-bottom-right-radius: 5px 10px;:  가로 5px , 세로 10px로 설정. 

 

initial

이 속성의 기본값 사용.

 

inherit

부모요소의 속성값을 상속.

 

 

border-bottom-right-radius 예제 - 애니메이션 효과 적용


<style> 

#hz {

    width: 300px;

    height: 200px;

    line-height:200px;

    text-align:center;

    border: 1px solid black;

    -webkit-animation: hzmove 5s infinite; /* Chrome, Safari, Opera */

    animation: hzmove 5s infinite;

}


/* Chrome, Safari, Opera */

@-webkit-keyframes hzmove {

    50% {border-bottom-right-radius: 50px;}

}


/* Standard syntax */

@keyframes hzmove {

    50% {border-bottom-right-radius: 50px;}

}

</style>


<div id="hz">홈짱닷컴 (Homzzang.com)</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