DEV Community

Discussion on: Gradient borders with curves and 3d movement in CSS (Nextjs ticket clone)

Collapse
makeavoy profile image
Nick McAvoy

You could always just host the content in a padded transparent div and directly map underneath it a filled svg of a ticket or whatever you want to it's box boundaries via small onResize event. Messier but itd have the option to overlay any content not just solid color, and wilder shape possibilities 🤷‍♂️