SVG is a language that uses XML to describe two-dimensional graphics and drawing programs.
SVG blur effect syntax
Note: Internet Explorer and Safari do not support SVG filters!
All Internet SVG filters are defined in the <defs> element. The <defs> element definition is short and contains definitions for special elements (such as filters).
The<filter> tag is used to define SVG filters.
SVG blur effect example
<!DOCTYPE html> <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="f1" x="0" y="0"> <feGaussianBlur in="SourceGraphic" stdDeviation="15" /> </filter> </defs> <rect width="90" height="90" stroke="green" stroke-width="3" fill="yellow" filter="url(#f1)" /> </svg> </body> </html>
Run Instance»
Click "Run Instance" " button to view online examples