-
Notifications
You must be signed in to change notification settings - Fork 746
Closed
Labels
Description
Currently, when using shapes in e.g. clip-path
, some features are only allowed in polygon, and some only in path.
- Polygon: CSS custom properties as coordinates, relative or other non-pixel units
- Path: Rounded corners with quadratic/bezier curves
So it's currently impossible to create a non-rect polygon that has both rounded corners and relative (or em) coordinates, or custom properties, for example a speech bubble with an arrow.
I suggest one of the following:
- Allow some form of radius in
polygon()
(easier) - Allow resolving of non-pixel units in
path()
(more powerful)
Krinkle, idoros, ByteEater-pl, argyleink and tannerhodges