15 lines
471 B
HTML
15 lines
471 B
HTML
<html><body><svg width="600" height="600" xmlns="http://www.w3.org/2000/svg">
|
|
<defs>
|
|
<lineargradient x1="0" x2="1" id="gradient">
|
|
<stop stop-color="#f00" offset="0"></stop>
|
|
<stop stop-color="#0f0" offset="0.5"></stop>
|
|
<stop stop-color="#00f" offset="1"></stop>
|
|
</lineargradient>
|
|
</defs>
|
|
<g transform="scale(3)" y="50">
|
|
<text y="20" font-size="20" fill="url(#gradient)">Text needs to have identical gradient.</text>
|
|
</g>
|
|
</svg>
|
|
</body>
|
|
</html>
|