CSS corner-inline-end-shape Property
Description
The corner-inline-end-shape property defines the geometric shape used to form an element’s corner at the inline end edge according to the current writing direction. In practice this lets authors move beyond simple circular rounding at a single corner, specifying a distinct corner geometry for the inline‑end corner of the box (the logical corner that corresponds to the end of the inline flow). It is primarily a painting/decoration concern: it determines how that corner is rendered when the UA draws the element’s background, border and clipping for that corner area.
Using corner-inline-end-shape you can produce a wide variety of corner treatments - for example fully rounded, chamfered, clipped or entirely custom polygonal corners - which can be particularly useful for components such as cards, buttons, badges and illustrative UI elements. Because it targets a logical (inline) corner, the same stylesheet can produce mirrored results automatically for different writing modes or directionality without separate rules for left/right corners. This makes layout more robust when supporting horizontal versus vertical writing modes or right-to-left languages.
This property composes with other corner- and box-related properties when producing the final painted shape. For instance you might combine it with border-radius semantics or use it alongside a custom clipping defined by clip-path to achieve complex silhouettes; it also pairs conceptually with the matching logical corner properties such as corner-inline-start-shape so each corner can be controlled independently. Because corner shaping affects the painted outline and clipping region, it will influence hit testing and overflow visuals and should be considered when animating or transitioning an element’s outline.
From a practical point of view, authors should treat corner-inline-end-shape as a visual styling tool that interacts with layout direction and the box model. Changes to the corner shape affect how backgrounds, borders and shadows are clipped and can require adjustments to spacing and overflow handling to avoid visual artifacts. It also works well with gradual transitions and motion design: animating corner geometry can create smooth, expressive UI effects, but you should test for rendering artifacts (aliasing, compositing) across shapes and consider accessibility and focus outlines so that interactive elements remain discoverable and usable.
Definition
- Initial value
- see individual properties
- Applies to
- see individual properties
- Inherited
- no
- Computed value
- see individual properties
- Animatable
- see individual properties
- JavaScript syntax
- object.style.cornerInlineEndShape
Syntax
corner-inline-end-shape: <corner-shape>{1,2}
Values
The property accepts one or two <corner-shape-value> values. These define the style of the corner shape:
Keyword Values
round- The default value. Creates a standard rounded corner (equivalent to traditional border-radius).scoop- Creates an inward-facing curve (concave), making the corner look "bitten" out.bevel- Creates a flat, diagonal cut across the corner (chamfered look).notch- Creates a rectangular step-like cutout at the corner.square- Straight angle corner (no rounding)squircle- Intermediate shape between round and square
Functional Value
superellipse(<number>)- Determines corner curvature using a superellipse curve.- Larger positive numbers → closer to a square
- Values around 1 → default/round
- Negative values → inverted/concave shapes
infinityand-infinityare allowed as extremes ([MDN Web Docs][1])
Global CSS Values
inheritinitialrevertrevert-layerunset
Example
Browser Support
The following information will show you the current browser support for the CSS corner-inline-end-shape property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported in some modern browsers, but not all.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
