CSS border-bottom-right-radius

The border-bottom-right-radius property in CSS defines the rounded corner radius for the bottom-right corner of an element. This property allows you to create smooth, curved corners by specifying a length or percentage value.


Syntax of border-bottom-right-radius

</>
Copy
border-bottom-right-radius: length | % [length | %] | initial | inherit;

Values

ValueDescription
lengthDefines the horizontal radius in any valid CSS length unit (e.g., px, em, rem, etc.).
%Defines the radius as a percentage of the element’s dimensions.
[length | %]Defines both the horizontal and vertical radii. The first value sets the horizontal radius, and the second value sets the vertical radius.
initialSets the property to its default value (0).
inheritInherits the value from its parent element.

Default Value

0 (no rounding)


Examples for border-bottom-right-radius

Using the CSS border-bottom-right-radius Property

The following examples demonstrate how to use the border-bottom-right-radius property to set rounded corners on the bottom-right side of an element.

</>
Copy
/* Set the bottom-right corner radius to 30px */
.element {
  border-bottom-right-radius: 30px;
}

/* Set the bottom-right corner radius to 50% */
.element {
  border-bottom-right-radius: 50%;
}

/* Set the horizontal and vertical radii */
.element {
  border-bottom-right-radius: 20px 10px;
}

/* Inherit the corner radius from the parent element */
.element {
  border-bottom-right-radius: inherit;
}

Example for a Rounded Bottom-Right Corner

Below is an example demonstrating how to create a rounded bottom-right corner using border-bottom-right-radius: 50px:

index.html

</>
Copy
<!DOCTYPE html>
<html lang="en">
<head>
<style>

  .box {
    width: 200px;
    height: 200px;
    background-color: red;
    border-bottom-right-radius: 50px;
  }
</style>
</head>
<body>

<div class="box"></div>

</body>
</html>

Example for a Rounded Bottom-Right Corner with Percentage Value

border-bottom-right-radius: 10%;

</>
Copy
<!DOCTYPE html>
<html lang="en">
<head>
<style>

  .box {
    width: 200px;
    height: 200px;
    background-color: red;
    border-bottom-right-radius: 10%;
  }
</style>
</head>
<body>

<div class="box"></div>

</body>
</html>

Example for a Rounded Bottom-Right Corner with Different Radii for Horizontal and Vertical

border-bottom-right-radius: 25% 50%;

</>
Copy
<!DOCTYPE html>
<html lang="en">
<head>
<style>

  .box {
    width: 200px;
    height: 200px;
    background-color: red;
    border-bottom-right-radius: 25% 50%;
  }
</style>
</head>
<body>

<div class="box"></div>

</body>
</html>

Browser Support

The border-bottom-right-radius property is supported in modern browsers. Below is a compatibility table:

BrowserVersion
Chrome5.0
Edge9.0
Firefox4.0
Safari5.0
Opera10.5