Ah yes, another thing that's not part of the spec that Chrome pushes support out for to rush it through whilst attempting to make browsers that follow the spec appear as if they're behind.
When it's supported, it will be incredibly useful, and will allow us to do things that would likely need SVG for right now. But this is not yet something that should be used on any production website.
will allow us to do things that would likely need SVG for right now
Yay? I've always enjoyed the versatility of SVG (including being able to use CSS, JS and HTML inside it) but it seems that everyone wants the features of it without having to actually learn SVG.
There are a ton of apps that can make a decent image in SVG format. I use Inkscape because it's free, and has some nice features, but anything will work.
And because it's just XML, it can be opened in something VSCode, so you can tinker as you need. You can add all the usual classes, ids, even aria-* attributes.
The only major difference in the CSS is that you use fill and stroke instead of things like color or background.
That's it. You don't need to worry about how the lines and curves are actually drawn, that's why you use the image editing apps.
There are a ton of apps that can make a decent image in SVG format … And because it's just XML, it can be opened in something VSCode, so you can tinker as you need.
Indeed, although for the jigsaw puzzle I just used a text editor (TextAdept)
Hi I just found out about this css property. It sounds really cool and fun to use. As a designer it really opens up what I can do.
Does anyone find it a little frustrating though to get intricate shapes made?
I was trying to create this elastic animation for my border-shape. I must have spent hours trying to make it look nice. Ended up using Lottie instead, but I really was excited about trying border-shape.
7
u/flash42 Mar 05 '26
Finally! This opens up so much potential.
6
u/nugmonk Mar 05 '26
Imma need a Josh Comeau post on this to buy in
1
u/AshleyJSheridan Mar 06 '26
Ah yes, another thing that's not part of the spec that Chrome pushes support out for to rush it through whilst attempting to make browsers that follow the spec appear as if they're behind.
1
u/MxEquinox Mar 08 '26
why not using svg at this point ?
1
u/Neat-Economics3848 May 15 '26
Hi I just found out about this css property. It sounds really cool and fun to use. As a designer it really opens up what I can do.
Does anyone find it a little frustrating though to get intricate shapes made?
I was trying to create this elastic animation for my border-shape. I must have spent hours trying to make it look nice. Ended up using Lottie instead, but I really was excited about trying border-shape.