Repository navigation
Closed
Labels
Description
WebKittens
No response
Title of the spec
CSS corner-shape
URL to the spec
URL to the spec's repository
No response
Issue Tracker URL
No response
Explainer URL
TAG Design Review URL
No response
Mozilla standards-positions issue URL
mozilla/standards-positions#823
WebKit Bugzilla URL
Radar URL
rdar://134147721
Description
corner-shape is essentially an extension of the idea of border-radius that would allow for other corner shapes. Right now the list includes round, angle and none but might in the future include notch, scoop, squircle, etc. These shapes would be combine-able . i.e. corner-shape: none angle round notch; and would use a border-radius like syntax for describing a corner-size including the existing slash notation.
A paintAPI demo of the general idea:
https://jsnkuhn.github.io/corner-shape/
Reacted by Yisi, Raura, Jeff Hitchcock, Julien Marcou, Egor Kolesnikov, Paul Zhang, legendofmi and phantomxx29474
Reacted by Oliver Williams and phantomxx29474
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
smfr commentedon Jul 29, 2024
We think that
corner-shapewill be useful to allow for bevel, and superellipse (aka squircle), but we believe that more complex corner shapes are best handled with some futureborder-shapeorelement-shapeproperty using theshape()function.