-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
- Via
- Spec: https://drafts.csswg.org/css-borders-4/#border-shape
- Explainer: https://github.com/noamr/explainers/blob/main/border-shape-explainer.md
- Chrome
- Firefox
- Safari
Summary
CSS border-shape enables creating non-rectangular borders, with any arbitrary shape (polygon, circle, shape(), etc). Though border-shape accepts the same shapes as clip-path, it is fundamentally different: border-shape defines the shape of the border, decorates it, and clips only the inside. border-shape has two variants: one variant that strokes a shape, and another variant that fills between two shapes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels