corner-top-shape
An experimental shorthand to set the physical shape of both top corners (top-left and top-right) at once.
It is documented as part of the CSS Backgrounds and Borders specification. This is an experimental technology. The syntax and behavior are still subject to change.
Syntax
/* Usage Example */
.banner {
/* Experimental: sets both top corners to be angled */
corner-top-shape: angle;
}
/* Global values */
corner-top-shape: inherit;
corner-top-shape: initial;
corner-top-shape: revert;
corner-top-shape: revert-layer;
corner-top-shape: unset;
corner-top-shape Browser support
Limited availability
Since
2020 67% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
139+
139+