## border-bottom-right-radius 屬性
border-bottom-right-radius 屬性定義右下角邊框的形狀。
提示:該屬性允許您向元素添加圓角邊框。
JavaScript 語法:object.style.borderBottomRightRadius="5px"
## 語法
~~~
border-bottom-right-radius: length|% [length|%];
~~~
**注釋:**border-bottom-right-radius 屬性的長度值和百分比值定義四分之一橢圓(定義外部邊框邊緣的邊角形狀)的半徑(radii)。第一個值是水平半徑,第二個值是垂直半徑。如果省略第二個值,則復制第一個值。如果長度為零,則邊角為方形,而不是圓形。水平半徑的百分比值參考邊框盒的寬度,而垂直半徑的百分比值參考邊框盒的高度。
| 值 | 描述 | 測試 |
| --- | --- | --- |
| *length* | 定義右下角的形狀。 | [測試](https://www.w3cschool.cn/tryrun/showhtml/css_border-bottom-right-radius) |
| *%* | 以百分比值定義右下角的形狀。 | [測試](https://www.w3cschool.cn/tryrun/showhtml/css_border-bottom-right-radiuspercent) |
## 實例--向 div 元素的右下角添加圓角邊框:
~~~
div
{
border:2px solid;
border-bottom-right-radius:2em;
}
~~~
- CSS常用樣式控制
- background--背景
- Text--文本
- CSS屬性
- align-*
- animation-*
- appearance
- backface-visibility
- background
- background-attachment
- background-blend-mode
- background-clip
- background-color
- background-image
- background-origin
- background-position
- background-repeat
- background-size
- border
- border-bottom
- border-bottom-color
- border-bottom-left-radius
- border-bottom-right-radius
- border-bottom-style
- border-bottom-width
- border-collapse
- border-color
- border-image
- border-image-outset
- border-image-repeat
- border-image-source
- border-image-width
- Border-left
- border-left-color
- border-left-style
- border-left-width
- border-image-slice
- border-radius
- border-right
- border-right-color
- border-right-style
- border-right-width
- border-spacing
- border-style
- border-top
- border-top-color
- border-top-left-radius
- border-top-right-radius
- border-top-style
- border-top-width
- border-width
- bottom
- box-shadow
- box-sizing
- caption-side
- clear
- clip
- color
- column-count
- column-gap
- column-rule
- column-rule-color
- column-rule-style
- column-rule-width
- column-span
- column-width
- columns
- content
- counter-increment
- counter-reset
- cursor
- direction
- display
- Empty-cells
- filter(濾鏡)
- CSS 偽元素選擇器
- :active 選擇器
- :after 選擇器
- :before 選擇器
- :checked 選擇器
- :disabled 選擇器
- :empty 選擇器
- :enabled 選擇器
- :first-child 偽元素
- :first-letter 偽元素
- :first-line 偽元素
- :first-of-type 選擇器
- :focus 選擇器
- :hover 選擇器