How would you recreate a button like this?

The main decoration are the little crosses in the corners if you see them. I've seen similar buttons one or two times before but only today tried to recreate it and got to something a little different but nice https://codepen.io/fgvdg/pen/gOJwLNg Anyways, Im interested if someone has made a button like this before or someone knows how to do it? thanks in advance. the button is from here https://nucleoapp.com/
No description
3 Replies
MarkBoots
MarkBootsā€¢2mo ago
with a lot of gradients and calculations i came up with this. https://codepen.io/MarkBoots/pen/MWdjJJL there might be an more clear/easier solution (probably border-image). But it's a bit late rn overhere, will take another look at it tomorrow
MarkBoots
MarkBootsā€¢2mo ago
i've updated the pen to also have the very light lines https://codepen.io/MarkBoots/pen/MWdjJJL
shdhfhdh
shdhfhdhā€¢2mo ago
Wow so impressive, and you did it using only one element too... I will analyze it better in my pc, thank you very much for your knowledge