v157 · css · borders · corner shaping
CSS corner shorthand properties
A family of shorthands for corner styling in CSS Borders and Box Decorations Level 4: the corner shorthand plus per-corner (corner-top-left, …, logical corner-start-start, …) and per-edge (corner-top, …, logical corner-block-start, …) sub-shorthands. Each sets both the corner’s border-radius component and its corner-shape component in one declaration — so a squircle corner is one line: corner: squircle 1rem.
The milestone=157 listing files this under “Enabled by default”, but as of 2026-11-01 the runtime flag record for CSSCornersShorthand still reads status: "experimental" at trunk and the ChromeStatus record’s status text reads “Proposed” — so the shorthands may not yet be on by default in your Chrome 157. To test regardless: enable chrome://flags/#enable-experimental-web-platform-features or launch with --enable-blink-features=CSSCornersShorthand, and feature-detect with CSS.supports("corner", "squircle 1rem") before relying on them.
at a glance
| What it is | 17 shorthand properties over the existing border-radius and corner-shape longhands: corner; 8 per-corner sub-shorthands (4 physical + 4 logical); 8 per-edge sub-shorthands (4 physical + 4 logical) — grammars in syntax, verbatim from css-borders-4 §3.9 |
|---|---|
| Milestone listing | Chrome 157 — listed under “Enabled by default” in the milestone=157 listing (fetched 2026-11-01; the listing is authoritative for filing). See the warn-block for the trunk flag state |
| Runtime feature | CSSCornersShorthand (experimental) in runtime_enabled_features.json5, verified 2026-11-01; Finch name CSSCornersShorthand; tracking bug 425897047 |
| Spec | CSS Borders and Box Decorations Level 4 — §3.9 corner shaping (Editor’s Draft) |
| Explainer | corner shorthands explainer (the ChromeStatus record’s explainer link) and the blink-dev intent thread |
| Vendor positions | Firefox: “Positive” (mozilla/standards-positions #823, on corner-shaping). Safari: “In development” view (WebKit/standards-positions #229) |
| ChromeStatus | 5152215540039680 — CSS corner shorthand properties |
why it exists
Chrome 139 shipped corner-shape (superellipse corners: squircle, bevel, scoop, notch, …), but styling one corner still took two declarations across two property families — a radius longhand and a shape longhand. The shorthands collapse that: one property per corner (or edge, or all four) that accepts both components, mirroring how border bundles width/style/color. The ChromeStatus summary frames them as letting authors set “both border-radius and corner-shape for individual corners” in a single declaration.
syntax
Value grammars quoted verbatim from the css-borders-4 Editor’s Draft propdef tables (fetched 2026-11-01). || means either or both components, in any order:
/* the whole-box shorthand */
corner: <'corner-shape'> || <'border-radius'>
/* initial: 0 · applies to: all elements (but see prose) */
/* per-corner sub-shorthands:
corner-top-left | corner-top-right | corner-bottom-left | corner-bottom-right
corner-start-start | corner-start-end | corner-end-start | corner-end-end */
corner-top-left: <'corner-top-left-shape'> || <'border-top-left-radius'>
/* per-edge sub-shorthands (set the two corners of one edge):
corner-top | corner-right | corner-bottom | corner-left
corner-block-start | corner-block-end | corner-inline-start | corner-inline-end */
corner-top: <'corner-top-shape'> || <'border-top-radius'>
The shape component takes a <corner-shape-value> (a keyword such as round, squircle, bevel, scoop, notch, straight, or a superellipse() function — documented on MDN’s corner-shape page); the radius component takes the corresponding border-radius longhand or shorthand grammar.
what each shorthand sets
| Shorthand | Longhands set |
|---|---|
corner | All four corner-*-shape longhands and all four border-*-radius longhands (an omitted component resets to its initial value, per CSS shorthand rules) |
corner-top-left (and the other 3 physical + 4 logical per-corner forms) | That corner’s corner-…-shape and border-…-radius longhands |
corner-top (and the other 3 physical + 4 logical per-edge forms) | The two corners of that edge: its corner-…-shape pair (<'corner-top-shape'> accepts {1,2} values) and its border-…-radius pair |
Like every CSS shorthand, these reset the longhands they cover: corner: 1rem sets all radii to 1rem and all corner shapes back to their initial round. Declaration-order interleaving with the longhands follows the cascade as usual.
errors and graceful degradation
CSS properties don’t throw: in a browser without the shorthands, the whole declaration is invalid and dropped at parse time, and the longhands it would have set keep their prior values. Safe adoption pattern — declare longhands first, shorthand after, or gate on support:
.card {
border-radius: 1rem; /* works everywhere */
}
@supports (corner: squircle 1rem) {
.card { corner: squircle 1rem; } /* upgraded corners where supported */
}
/* The same pattern gates the sub-shorthands: */
@supports (corner-top-left: scoop 1rem) {
.ticket { corner-top-left: scoop 1rem; }
}
@supports (corner-top: bevel 1rem) {
.tab { corner-top: bevel 1rem; }
}
Because the fallback is “the declaration never applies”, pages degrade to ordinary rounded (or square) corners.
Source: declaration-dropping per css-syntax-3; css-conditional@supports
where it applies
The shorthands apply wherever their longhands do: corner-shape and border-radius apply to “all elements where border-radius can apply” (the per-corner/edge shorthands’ propdefs say “all elements (but see prose)”, deferring to the same longhand applicability). No permission, secure-context, or policy gate — availability is purely the flag state above. Usable in stylesheets, inline style, and CSS.supports().
examples
/* One squircle card corner-set — was two declarations: */
.card {
corner: squircle 1.5rem;
/* equivalent to:
corner-shape: squircle;
border-radius: 1.5rem; */
}
/* Mixed corners: scooped top edge, round bottom */
.ticket {
corner-top: scoop 1rem;
corner-bottom: round 0.5rem;
}
/* One notched corner, logical (follows writing direction) */
.tag {
corner-start-start: notch 0.75rem;
}
No chrome-platform-showcase demo route exists for this feature yet (HEAD-checked 404, 2026-11-01); the examples above are gendn-authored from the quoted grammars and labelled as such. The v147 reference for the underlying keywords: corner shaping (corner-shape, superellipse, squircle).
Source: grammar per css-borders-4 §3.9; examples gendn-authored, not yet executed in a flagged build (disclosed)browser compatibility
Interim table — the shorthands have no BCD files yet (css/properties/corner.json and corner-top-left.json raw fetches both 404, 2026-11-01) and no own web-features entry; rows come from the linked primary sources.
| Browser | Corner shorthands | corner-shape (underlying longhand) |
|---|---|---|
| Chrome | Milestone 157 per the record; flag CSSCornersShorthand still experimental at trunk (see warn-block) | 139 (webstatus.dev) |
| Edge | Mirrors Chrome | 139 |
| Firefox | Not shipped; corner-shaping position “Positive” (#823) | Not shipped |
| Safari | Not shipped; “In development” view (#229) | Not shipped |
security and privacy
Pure paint-level syntax sugar over existing longhands: the shorthands expose no new rendering capability, no new measurable state, and no cross-origin surface beyond what border-radius and corner-shape already provide. The ChromeStatus record flags no security or privacy risks, and css-borders-4 carries no considerations specific to the shorthands (checked 2026-11-01; gendn-derived summary, labelled as such).
specifications
| Document | Status |
|---|---|
| CSS Borders and Box Decorations Level 4 — §3.9 corner shaping | Editor’s Draft (CSSWG) — propdef tables quoted verbatim, fetched 2026-11-01 |
| Corner shorthands explainer | The ChromeStatus record’s explainer link (resolves via redirect; final URL linked) |
| blink-dev intent thread | Linked from the ChromeStatus record |
see also
- Chrome Platform Status — CSS corner shorthand properties (API record)
- MDN —
corner-shape(the underlying longhand; MDN has no pages for the shorthands yet — 404, checked 2026-11-01) - gendn v147 — corner shaping (corner-shape, superellipse, squircle)
- MDN —
border-radius