⚙️ New CSS Generator! Save this link for the future. A tool to easily convert any SVG shape into a CSS one in no time. Powered by the new shape() function! 🤩 css-generators.com/svg-to-css/ ✅ Single-element ✅ Responsive ✅ No more ViewBox headaches
Post
css-generators.comSVG to CSS Shape ConverterA simple tool to transform an SVG shape into a CSS shape. Get a modern and optimized code in no time!.
If combined with a couple of other basic operations on top, like in Android’s VectorDrawable, then it’s pretty much all that one need for most things
0 reposts0 likes
I collaborated a bit with ChatGPT to flesh out the ideas: gist.github.com/voxpelli/e7c... I do not mean that SVG is enough, rather that the path element should be allowed to shine on its own as it can do stuff like what you are pointing out :)
gist.github.comMe and ChatGPT drafting a minimal SVG spec, drawing inspiration from VectorDrawable and TinyVGMe and ChatGPT drafting a minimal SVG spec, drawing inspiration from VectorDrawable and TinyVG - 0-svg-nano.md
path cannot do what I want. The converter I am sharing is not the goal of using shape(), it's a tool to help with more complex stuff I want to achieve. See the Spec to understand why shape() was created: drafts.csswg.org/css-shapes-2...