Hacker News new | ask | show | jobs
by arielserafini 2714 days ago
you could also achieve the same (or very close) result with CSS gradients alone.
2 comments

Layering CSS gradients doesn’t work, unfortunately: https://stackoverflow.com/questions/14926189/creating-a-grad...
Or SVG gradients I believe.
To achieve the same effect, you would need a “gradient mesh” which is not supported by the current version of SVG.

Mesh gradients were slotted for SVG 2.0 but the feature has since been removed from the roadmap.

http://libregraphicsworld.org/blog/entry/gradient-meshes-and...