Answer the question
In order to leave comments, you need to log in
How to make linearGradient fall equally on the whole svg?
Problem: I set the gradient not to apply to each element separately, but to the entire svg ?
Answer the question
In order to leave comments, you need to log in
Where the gradient is declared:
...for starters, you need to y2
replace the attribute value from 1
with 100%
:
...and add an attribute gradientUnits
with the value userSpaceOnUse
:
Happened:
This article talks about gradientUnits
.
Or do as raron suggested , merge all the elements into one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question