css.properties

border-radius

The border-radius property sets the radius of all border corners.

Formal Syntax

border-radius = <length-percentage [0,โˆž]>{1,4} [ / <length-percentage [0,โˆž]>{1,4} ]?

See specification

JavaScript Access

// Access via element.style element.style.borderRadius = "value";

Browser Support

standard | MDN ยท Spec

FeatureChromeFirefoxSafariEdge
border-radius44512
4_values_for_4_corners44512
elliptical_borders14312
percentages845.112

Related Properties