The modern way to draw squircles using corner-shape in CSS (opens in new tab)
For years, we’ve faked “characterful” corners with SVG masks, pseudo-elements, and more than a few headaches. The problem? Border-radius only controls size, not shape.
Read the original article