
Laura R. answered 05/22/19
Career Transition to Full Stack Engineer
Have you looked into the CSS property clip-path? It essentially lets you create your own polygon. As for support with x-browser, that's unknown to me. It looks widely supported by most popular modern browsers (excluding Safari).
https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path
I set up a codepen you can check out for an example here:
https://codepen.io/larobertson/pen/rgprgb
Assuming that works for your needs here are some more resources on shapes in CSS:
https://css-tricks.com/working-with-shapes-in-web-design/
https://css-tricks.com/clipping-masking-css/