Skip to content

CSS corner-shape #1048

@jsnkuhn

Description

@jsnkuhn

Description

corner-shape builds on border-radius to allow more corner shaping options than just round. Options include round, squircle, square, bevel, scoop and notch. A superellipse function is also available to feather differences between the existing keywords. For example superellipse(-2) allows devs to create an inset squircle shape that does not currently have a keyword.

use case thread: w3c/csswg-drafts#6980
codepen collection (Chrome only for now): https://codepen.io/collection/yyNdaM

Specification

https://drafts.csswg.org/css-borders-4/#corner-shaping

web-feature

There is no web feature listing for corner-shape

Test Links

https://wpt.fyi/results/css/css-borders/corner-shape?label=master&label=experimental&aligned&q=corner-shape

Additional Signals

Chrome and edge have a test implementation in as of stable Chromium 139.

Firefox

position (no response yet):
mozilla/standards-positions#823

bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=1726232

Webkit

position (support):
WebKit/standards-positions#229

bugzilla:
https://bugs.webkit.org/show_bug.cgi?id=277912

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions