Button with 4 triangles at 4 corners

What is the best way for me to create a button like this (shown in image)? In the worst case, I can think of having 4 divs inside the button with position:absolute for the triangles, but that is kinda a PITA, so I was wondering if there is a better approach
image.png
Solution
I would have done the 4 div solution for simplicity
If u want another possible solution try using border by using an image as a reference there is a css proprety for taking an image as a border
Was this page helpful?