编辑下面的代码:【加编码】
<html> <body> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <radialgradient id="grad1" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"> <stop offset="0%" style="stop-color:rgb(255,255,255);stop-opacity:0"></stop> <stop offset="100%" style="stop-color:rgb(0,0,255);stop-opacity:1"></stop> </radialgradient> </defs> <ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)"></ellipse> </svg> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂