Reblogged by collinsworth@hachyderm.io ("Josh Collinsworth"):
walpolea@mastodon.online ("Andrew Walpole") wrote:
I've written up some details on an interesting css trick to allow containers to take on a custom top and bottom shape using composed `image-masks` and a few clever calculations.
https://www.andrewwalpole.com/blog/custom-top-and-bottom-css-container-masks/