Get Ready For the Powerful CSS border-shape Property!
SMRTR summary
The new CSS `border-shape` property solves a long-standing problem: adding borders to clipped shapes. Unlike `clip-path`, which cuts off decorations entirely, `border-shape` lets borders, shadows, and outlines follow the actual shape. It supports single and dual-shape syntax for stroke and fill modes, enables breakout effects, animations, and complex decorations — all with familiar `clip-path`-style syntax.
SMRTR provides this summary for quick context. The original article belongs to CSS-Tricks.
Read the original article