⚙️ 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
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 :)
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...
no, because I want it in the CSS to apply it to elements and rely on CSS features. The goal is not to have standalone shapes and include them in HTML. Two recent examples I made (and I still have many for the future): css-tip.com/rounded-hexa... css-tip.com/arrow-like-b...
0 reposts0 likes