The border-radius property is employed to incorporate rounded borders to an element.
Example
p { border: 2px solid red; border-radius: 5px; } |
Property |
Description |
border |
Configures all border properties in a single declaration. |
border-bottom |
Configures all properties of the bottom border in a single declaration. |
border-bottom-color |
Specifies the color of the bottom border. |
border-bottom-style |
Specifies the style of the bottom border. |
border-bottom-width |
Specifies the bottom border’s width. |
border-color |
Specifies the color of all four borders. |
border-left |
Configures all properties of the left border in a single declaration. |
border-left-color |
Specifies the color of the left border. |
border-left-style |
Specifies the style of the left border. |
border-left-width |
Specifies the width of the left border. |
border-radius |
Configures all four border-*-radius properties to create rounded corners. |
border-right |
Configures all properties of the right border in a single declaration. |
border-right-color |
Specifies the color of the right border |
border-right-style |
Specifies the style of the right border. |
border-right-width |
Specifies the width of the right border. |
border-style |
Specifies the style of all four borders. |
border-top |
Configures all properties of the top border in a single declaration. |
border-top-color |
Specifies the color of the top border. |
border-top-style |
Specifies the style of the top border. |
border-top-width |
Specifies the width of the top border. |
border-width |
Specifies the width of all four borders. |