Thanks for helping everyone! I managed to gather information from everyone here and from further Googling, and I came up with the following that works in Chrome and Firefox: http://jsfiddle.net/u2y2091z/12/ . I am still working on creating this work for IE and Opera.
The key places the content inside the div to which the filter applies:
<div id="mask"> <p>Lorem ipsum ...</p> <img src="http://www.byui.edu/images/agriculture-life-sciences/flower.jpg" /> </div>
And then CSS:
#mask { position: absolute; left: 0; top: 0; right: 0; bottom: 0; background-color: black; opacity: 0.5; filter: blur(10px); -webkit-filter: blur(10px); -moz-filter: blur(10px); -o-filter: blur(10px); -ms-filter: blur(10px); filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='svgMask'><feGaussianBlur stdDeviation='10' /></filter></svg>#svgMask"); }
So, the filters are applied in the mask. Also note the use of url () for the filter with the <svg> for value - this idea came from http://codepen.io/AmeliaBR/pen/xGuBr . If you can minimize CSS, you may need to replace any spaces in the SVG filter markup with "% 20".
So now everything inside the div mask is blurry.
Chad Johnson Dec 21 '14 at 19:33 2014-12-21 19:33
source share