Let's Reshape the Web using border-shape!
This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).
The new CSS `border-shape` property offers a powerful way to create shapes while preserving decorations like borders, shadows, and outlines — something `clip-path` and `mask` cannot do. It accepts the same value syntax as `clip-path` (polygon(), shape(), inset(), circle(), etc.), making it easy to adopt. Currently available in
Table of contents
Will clip-path and mask become obsolete? #1 Comment
Sort: