description & Usage
Border-radius property is used to determine the radius of the corners of a box.
Informations
# | Description |
---|---|
Default Value | 0 |
Inherited | no |
Animatable | yes |
Version | CSS3 |
JavaScript syntax | object.style.borderRadius="25px" |
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
border-radius |
Syntax
Values
Values | Description |
---|---|
length | Specifies the color of the side border. |
% | Calculates the shape of the corners of the range in percentage. |
initial | Adds this value to its default property. |
inherit | It inherits this value from its parent tag. |