Answer the question
In order to leave comments, you need to log in
How to put mask on svg text?
There is a word "TEXT". There is a Svg file with a gradient. How can I attach this svg file to the word text?
Here is the svg code and I keep it in text-gradient.svg file
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" >
<defs>
<linearGradient id="lgrad" x1="50%" y1="0%" x2="50%" y2="100%" >
<stop offset="0%" style="stop-color:rgb(46,73,152);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(1,142,210);stop-opacity:1" />
</linearGradient>
</defs>
<rect x="0" y="0" width="100%" height="100%" fill="url(#lgrad)"/>
</svg>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question