Commit fb38c8c3 by wangdan

提交文本渐变效果

parent e83e1764
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>文本渐变</title>
</head>
<body>
<svg style="width:100%">
<defs>
<linearGradient id="grad" x1="10%" y1="10%" x2="100%" y2="100%">
<stop offset="0%" style="stop-color:#00F9FF;stop-opacity: 1;"/>
<stop offset="100%" style="stop-color:#004AFF;stop-opacity: 1;"/>
</linearGradient>
</defs>
<text x="0" y="36" fill="url(#grad)" style="font-size:40px">文本渐变,IE兼容</text>
</svg>
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment