HTML | DOM Style borderBottomLeftRadius Property
The borderBottomLeftRadius property in HTML DOM is used to set or return the radius of the border of the bottom-left corner.
Syntax:
object.style.borderBottomLeftRadius
object.style.borderBottomLeftRadius = "length|%|initial|inherit"
Parameter:
- Length: This will define the shape of the bottom-left corner bydefault value is 0.
- %: This is also do the same job but in percentage format.
- initial: This will set the property to it’s default value.
- inherit: This will inherit the property from it’s parent element.
Return Value: It returns the radius value of bottom left corner border.
Example 1:
<!DOCTYPE html> <html> <head> <style> div { border: 1px solid black; width: 300px; text-align:center; padding:30px; color: green; } </style> </head> <body> <div id = "main"> <h1>GeeksforGeeks!</h1> <button onclick="myGeeks()"> Click Here! </button> </div> <script> function myGeeks() { document.getElementById("main").style.borderBottomLeftRadius = "35px"; } </script> </body> </html> |
Output:
Before click on the button:

After click on the button:

Example 2:
<!DOCTYPE html> <html> <head> <style> div { border: 1px solid black; width: 300px; text-align:center; padding:30px; color: green; } </style> </head> <body> <div id = "main"> <h1>GeeksforGeeks!</h1> </div><br> <button onclick="myGeeks()"> Click Here! </button> <p id="val"></p> <script> function myGeeks() { document.getElementById("main").style.borderBottomLeftRadius = "35px"; var x = document.getElementById("main").style.borderBottomLeftRadius; document.getElementById("val").innerHTML = "Border Radius: " + x; } </script> </body> </html> |
Output:
Before click on the button:

After click on the button:

Supported Browsers: The browsers supported by borderBottomLeftRadius property are listed below:
- Google Chrome 5.0, 4.0 -webkit-
- Internet Explorer 9.0
- Firefox 4.0, 3.0 -moz-
- Opera 10.5
- Safari 5.0, 3.1 -webkit-
Recommended Posts:
- HTML | DOM Style top Property
- HTML | DOM Style right Property
- HTML | DOM Style textDecorationColor Property
- HTML | DOM Style fontStyle Property
- HTML | DOM Style lineHeight Property
- HTML | DOM Style minWidth Property
- HTML | DOM Style order Property
- HTML | DOM Style animationFillMode Property
- HTML DOM | Style pageBreakAfter Property
- HTML | DOM Style columnCount Property
- HTML | DOM Style padding Property
- HTML | DOM Style outlineStyle Property
- HTML | DOM Style borderRadius Property
- HTML | DOM Style clear Property
- HTML | DOM Style columns Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

