borderBottomRightRadius 속성은 요소의 오른쪽 하단 테두리에 둥근 모서리를 추가하거나 측정하는 데 사용됩니다.
구문
다음은 −
의 구문입니다.borderBottomRightRadius 속성 가져오기 -
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
속성 값은 다음과 같이 설명됩니다 -
값
| Sr.No | 값 및 설명 |
|---|---|
| 1 | 길이 오른쪽 하단 모서리 모양을 정의하기 위해 |
| 2 | % 백분율로 오른쪽 하단 모서리 모양을 정의합니다. |
| 3 | 초기 이 속성을 초기 값으로 설정합니다. |
| 4 | 상속 상위 속성 값을 상속하려면 |
예시
borderBottomRightRadius 속성의 예를 살펴보겠습니다 -
<!DOCTYPE html>
<html>
<head>
<style>
#DIV1{
height: 100px;
width: 200px;
border: 10px groove orange;
padding: 10px;
border-bottom-right-radius: 240px 90px;
}
</style>
<script>
function changeBottomBorder(){
document.getElementById("DIV1").style.borderBottomRightRadius="90px 50px";
document.getElementById("Sample").innerHTML="The bottom border right radius is now decreased";
}
</script>
</head>
<body>
<div id="DIV1">SOME SAMPLE TEXT</div>
<p>Change the above image bottom right border size by clicking the below button</p>
<button onclick="changeBottomBorder()">Change Bottom Border</button>
<p id="Sample"></p>
</body>
</html> 출력
이것은 다음과 같은 출력을 생성합니다 -

"하단 테두리 변경" 버튼을 클릭하면 -
