I've been attempting to use the CSS filter blur on certain elements, but for some reason it's not working as expected.
Check out this example in a jsfiddle: http://jsfiddle.net/kuyraypj/
Even though I have applied the following CSS, my '.blurred' circle doesn't appear blurred at all. HTML:
<svg width="500px" height="500px">
<circle class="blurred" cx="100" cy="100" r="50" fill="red"></circle>
<circle cx="220" cy="100" r="50" fill="red"></circle>
</svg>
CSS:
svg circle.blurred {
fill: green;
-webkit-filter: blur(5px);
-moz-filter: blur(5px);
-o-filter: blur(5px);
-ms-filter: blur(5px);
filter: blur(5px);
}
Is there a method to apply CSS3 filters to SVG elements or is there another approach that works better?
Thanks in advance!