Reputation: 448
I need to create a blur effect that would work also on IE when position
is set on relative
, absolute
atc..
I am not able to make this work.
Here is a sample: Sample
It is supposed to be all blurred but it only blurs element with no position
set.
Works fine in other browsers but not on IE..
Upvotes: 2
Views: 3955
Reputation: 105903
You need to extend your blur filter to elements themselves :
.blur, /* do you neeed it too for IE ? */
.blur p, /* extra for IE */
.blur div/* extra for IE */
{
-ms-filter: blur(2px);
filter:progid:DXImageTransform.Microsoft.Blur(pixelradius='2', shadowopacity='0.0');
}
So maybe the solution is to set the blur filter via class only to childs :), else filter is applied twice on non relative elements.
Upvotes: 1