编辑下面的代码:【加编码】
<html> <body> <p><b>Note: </b>Internet Explorer and Safari do not support SVG filters yet!</p> <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <defs> <filter id="filter" x="0" y="0"> <fegaussianblur stddeviation="5"></fegaussianblur> <feoffset dx="5" dy="5"></feoffset> </filter> </defs> <rect width="90" height="90" fill="grey" filter="url(#filter)"></rect> <rect width="90" height="90" fill="yellow" stroke="black"></rect> </svg> </body> </html>
结果: 【此窗口】 帮助?
Try it Yourself - © 自强学堂