CSS corner-top-right-shape Property Reference
The CSS corner-top-right-shape property is a standard property in CSS Backgrounds and Borders. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
corner-top-right-shape overview
The CSS corner-top-right-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
| Field | Value |
|---|---|
| Formal syntax | <corner-shape-value> |
| Initial value | round |
| Applies to | allElements |
| Inherited | No |
| Percentages | no |
| Computed value | correspondingSuperellipse |
| Animation type | superellipseInterpolation |
| Media | visual |
| Specification group | CSS Backgrounds and Borders |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set corner-top-right-shape. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
corner-top-right-shape: initial;
}
.inherit-example {
corner-top-right-shape: inherit;
}
@supports (corner-top-right-shape: initial) {
.supported {
corner-top-right-shape: initial;
}
}