Does anyone have any idea how this shape is made?

No description
No description
8 Replies
Romoy
RomoyOP3mo ago
the shape to the right of the weapon image
ἔρως
ἔρως3mo ago
hopefully not in css and html
Chris Bolson
Chris Bolson3mo ago
it could be created with an SVG
ἔρως
ἔρως3mo 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_uhu3mo 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
ἔρως
ἔρως3mo ago
you madlad!
clevermissfox
clevermissfox3mo 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_uhu3mo 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?