जावास्क्रिप्ट में निचले-दाएं कोने के बॉर्डर का आकार सेट करने के लिए, borderBottomRightRadius का उपयोग करें संपत्ति। यह आपको एक गोल बॉर्डर सेट करने की अनुमति देता है।
उदाहरण
नीचे-दाएं कोने का आकार कैसे सेट करें, यह जानने के लिए आप निम्न कोड चलाने का प्रयास कर सकते हैं -
<!DOCTYPE html>
<html>
<head>
<style>
#box {
border: 2px dashed blue;
width: 120px;
height: 120px;
}
</style>
</head>
<body>
<button onclick="display()">Set bottom-right border corner</button>
<div id="box">
<p>Demo Text</p>
<p>Demo Text</p>
</div>
<script>
function display() {
document.getElementById("box").style.borderBottomRightRadius = "30px";
}
</script>
</body>
</html>