CSS corner-shape scoop

 I had fun using 'corner-shape: scoop' to 'carve out' the corners of boxes with round corners.


In fact, I give a random value between '-0.5' and '-1.5' to the 'superellipse' function.


Nicely, 'scoop' has no effect if the corners are not rounded.



Comments

Popular posts from this blog

How a CSS fish animation works

Selecting adjacent elements on :hover with CSS

Setting the 'class' of an SVG element