CSS - border-bottom-left-radius Property
CSS border-bottom-left-radius property controls the roundness of the bottom-left corner of an element's border.
Possible Values
<length>: Size of circle radius is denoted, using length values. Negative values are not valid.
<percentage>: Size of circle radius is denoted, using percentage values.
Horizontal axis percentage is referred to the width of the box.
Vertical axis percentage is referred to the height of the box.
Negative values are not valid.
Applies to
All the HTML elements.
DOM Syntax
object.style.borderBottomLeftRadius = "length";
If you set the border-bottom-left-radius property directly on an element, and then apply a shorthand border-radius property to the element that does not specify a value for the bottom-left corner, the border-bottom-left-radius property will be reset to its initial value.
CSS Border Bottom Left Radius - Length Value
Here is an example of how to create bottom-left rounded corner using length value −
<html> <head> <style> .rounded-border { background-color: pink; border: 3px solid green; border-bottom-left-radius: 50px; background-size: 100% 100%; width: 200px; height: 200px; } </style> </head> <body> <div class="rounded-border"> bottom-left rounded corner. </div> </body> </html>
CSS Border Bottom Left Radius - Percentage Value
Here is an example of how to create bottom-left rounded corner using percentage value −
<html> <head> <style> .rounded-border { background-color: pink; border: 3px solid green; border-bottom-left-radius: 25%; background-size: 100% 100%; width: 200px; height: 200px; } </style> </head> <body> <div class="rounded-border"> bottom-left rounded corner. </div> </body> </html>
CSS Border Bottom Left Radius - Animation
Here is an example of how to create a bottom-left rounded corner with an animation −
<html> <head> <style> .rounded-border { background-color: pink; border: 3px solid green; background-size: 100% 100%; width: 200px; height: 200px; animation: animatedRadius 5s infinite; } @keyframes animatedRadius { 50% { border-bottom-left-radius: 100px; } } </style> </head> <body> <div class="rounded-border"> bottom-left rounded corner. </div> </body> </html>
CSS Border Bottom Left Radius - Different Shapes
The following example demonstrates how to use the border-bottom-left-radius property to create different shapes for the bottom-left corner of an element −
<html> <head> <style> .rounded-box { width: 150px; height: 150px; background-color: pink; border: 3px solid green; margin: 10px; } .rounded-box.circle-arc { border-bottom-left-radius: 35px; } .rounded-box.ellipse-arc { border-bottom-left-radius: 75px 35px; } .rounded-box.square-per { border-bottom-left-radius: 30%; } .non-square-per { border-bottom-left-radius: 30%; width: 200px; height: 100px; background-color: pink; border: 3px solid green; margin: 10px; } </style> </head> <body> <h3>Different shapes using border-bottom-left-radius pproperty</h3> <div class="rounded-box circle-arc"> Arc of an circle. </div> <div class="rounded-box ellipse-arc"> Arc of an ellipse. </div> <div class="rounded-box square-per"> Square element with % radius. </div> <div class="non-square-per"> Non-square element with % radius. </div> </body> </html>
CSS Border Bottom Left Radius - Image
The following example demonstrates how to create a bottom-left rounded corner image using border-bottom-left-radius property −
<html> <head> <style> .img-border-radius { background-image: url(images/tree.jpg); border-bottom-left-radius: 6em; background-size: 100% 100%; width: 200px; height: 200px; } </style> </head> <body> <div class="img-border-radius"> bottom-left rounded corner image. </div> </body> </html>
To Continue Learning Please Login
Login with Google