3 ms·
A few months ago I looked into how to do an angled gradient in SVG and was baffled that is isn't supported. Now looking at this spec, it's also not in there. Wh
by Noujin 3y ago
A few months ago I looked into how to do an angled gradient in SVG and was baffled that is isn't supported. Now looking at this spec, it's also not in there. Why the hell is this something nobody talks about. Photoshop has it since ages...
- Syntheticate 3y agoIt's definitely supported via the `gradientTransform` attribute on e.g. linear gradients, as in this example: https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient#example https://developer.mozilla.org/en-US/docs/Web/SVG/Element/lin...
- jahewson 3y agoI think they’re referring to conic gradients, also known as angular gradients which SVG doesn’t support.