Does anyone have any idea how this shape is made?

No description
No description
8 Replies
Romoy
RomoyOP4w ago
the shape to the right of the weapon image
ἔρως
ἔρως4w ago
hopefully not in css and html
Chris Bolson
Chris Bolson4w ago
it could be created with an SVG
ἔρως
ἔρως4w ago
it's from a game, so, hopefully not svg either probably a texture - done with anything that can output an appropriate image format for baking
capt_uhu
capt_uhu4w ago
so this is very cursed but here it is with gradients: https://codepen.io/jsnkuhn/pen/xbxrRda?editors=1100 this would be a lot easier with corner-shape and background-clip: border-area; crossing fingers that they become real at some point
ἔρως
ἔρως4w ago
you madlad!
clevermissfox
clevermissfox4w ago
Hadnt heard of background clip border area ! If it does what I think it should , that would be helpful ! Or just allow us to use border-radius with border-image
capt_uhu
capt_uhu4w ago
border-area went live in stable Safari 18.2 and Jen Simmons wrote a nice blog post about it at the time https://webkit.org/blog/16214/background-clip-border-area/ Unfortunately not as much enthusiasm from the other browsers yet.

Did you find this page helpful?