corner-right-shape

An experimental physical shorthand to set the shape of both right corners (top-right and bottom-right) simultaneously.

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.

/* Usage Example */
.nav-tab {
  /* Experimental: sets shape for both right corners */
  corner-right-shape: angle;
}

/* Global values */
corner-right-shape: inherit;
corner-right-shape: initial;
corner-right-shape: revert;
corner-right-shape: revert-layer;
corner-right-shape: unset;
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+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC