Currently, the corner-shape
property uses a superellipse to define the corners shape. While this is both powerful and intuitive, it is limited in the range of shapes that it can produce.
To increase its flexibility, corner-shape
could be given the ability to accept a user defined curve as an alternative option to the superellipse.
This idea is already implemented in Blender’s bevel modifier, where custom profiles can be defined through editable curves.
Such an addition would make it possible to create more complex/stylistic shapes such as pixelated or ornament shaped corners without resorting to workarounds like border-image
or clip-path
that both come with their limitations or disadvantages.
Example of the feature in Blender
Pixelated porfile example
Ornamental profile example