CSS border-shape Property Reference

The CSS border-shape property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

CSS border-shape Property Reference

The CSS border-shape property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

Updated 2026-08-12

border-shape overview

The CSS border-shape property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

The property is not inherited by default. Use an explicit global keyword when inheritance is intended.

Syntax and formal definition

border-shape formal syntax
FieldValue
Formal syntaxnone | [ <basic-shape> <geometry-box>?]{1,2}
Initial valuenone
Applies toallElements
InheritedNo
Percentagesno
Computed valueasSpecified
Animation typebyComputedValueType
Mediavisual
Specification groupCSS Backgrounds and Borders
StatusStandard

Practical examples

These declarations demonstrate valid ways to set border-shape. The initial and inherit global keywords remain available even when a property-specific value is preferable.

border-shape live example
CSS .reset-example { border-shape: initial; } .inherit-example { border-shape: inherit; } @supports (border-shape: initial) { .supported { border-shape: initial; } }

Description

The CSS border-shape property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.

References

  1. MDN: border-shape
  2. MDN: CSS Properties Reference

Similar or alternative tools

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies