Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
Noujin
· 3y ago · 0 comments
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...
Comments
[–]
Syntheticate
3y ago
It'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/lin...
[–]
jahewson
3y ago
I think they’re referring to conic gradients, also known as angular gradients which SVG doesn’t support.