CSS border-bottom-left-radius Property

This property is used to define the radius of the bottom left corner of border i.e. it makes bottom-left of the border rounded.

Syntax:

border-bottom-left-radius: length|% [length|%]|initial|inherit;

Values of this Property:

  • Length: This property is used to specify the radius of border in length(eg. px).Its default value is 0.
    Syntax:

    border-bottom-left-radius: length;
    

    If we set two values for radius then the first value is assigned for bottom border and second value is assigned for left border.

    Syntax:

    border-bottom-left-radius: 20px 50px;
    

    Examples:

    filter_none

    edit
    close

    play_arrow

    link
    brightness_4
    code

    <!DOCTYPE html>
    <html>
    <head>
    <style
    #bdr{
      border: 2px solid black;
      padding: 10px;
      color:#009900;
      font-size:40px;
      border-bottom-left-radius: 25px;
    }
    </style>
    </head>
    <body>
    <center>
    <h2>border-bottom-left-radius: 25px:</h2>
    <div id="bdr">
      <p>GeeksforGeeks</p>
    </div>
    </center>
    </body>
    </html>

    chevron_right

    
    

    Output:
    pixel

  • (Percentage)%:It defines radius of bottom-left corner of border in percentage.

    Syntax:

    border-bottom-left-radius: % [length|%];
    

    Examples:

    filter_none

    edit
    close

    play_arrow

    link
    brightness_4
    code

    <!DOCTYPE html>
    <html>
    <head>
    <style
    #bdr{
      border: 2px solid black;
      padding: 50px;
      color:#009900;
      font-size:40px;
      border-bottom-left-radius: 50%;
    }
    </style>
    </head>
    <body>
    <center>
    <h2>border-bottom-left-radius: 50%:</h2>
    <div id="bdr">
      <p>GeeksforGeeks</p>
    </div>
    </center>
    </body>
    </html>

    chevron_right

    
    

    Output:
    percentage

  • Initial: Initial sets the default property of the bottom-left-radius i.e. 0 which results in square border.

    Syntax:

    border-bottom-left-radius: initial;
    

    Examples:

    filter_none

    edit
    close

    play_arrow

    link
    brightness_4
    code

    <!DOCTYPE html>
    <html>
    <head>
    <style
    #bdr{
      border: 2px solid black;
      padding: 50px;
      color:#009900;
      font-size:40px;
      border-bottom-left-radius: initial;
    }
    </style>
    </head>
    <body>
    <center>
    <h2>border-bottom-left-radius: initial</h2>
    <div id="bdr">
      <p>GeeksforGeeks</p>
    </div>
    </center>
    </body>
    </html>

    chevron_right

    
    

    Output:
    initial

  • Inherit:By using inherit property, it inherit the properties of parent element and use it for the current bottom-left-radius of border.

    Syntax:

    border-bottom-left-radius: inherit;
    




My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

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.




Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.