Making interesting borders with CSS corner-shape
SMRTR summary
CSS's corner-shape property enables developers to create beveled, scooped, notched, and squircle corners without complex pseudo-element workarounds. The property works alongside border-radius and includes a superellipse function for numerical control, enabling smooth animations. Currently limited to Chromium browsers, it replaces old triangle-based hacks with simple CSS declarations.
SMRTR provides this summary for quick context. The original article belongs to Daily.dev.
Read the original article