【发布时间】:2014-11-09 02:25:18
【问题描述】:
几个小时以来,我一直在尝试在 IE 11 中获得 CSS 模糊效果,但没有取得任何进展。我尝试使用以下简单的 html:
<!DOCTYPE HTML>
<html>
<head>
<style type="text/css">
.blur{
-ms-filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius='50');
}
</style>
</head>
<body>
<img src='http://img3.wikia.nocookie.net/__cb20120627075127/kirby/en/images/0/01/KDCol_Kirby_K64.png' class="blur" />
</body>
</html>
我也尝试使用不带 ms 前缀的过滤器。我在http://jsbin.com/ulufot/31/edit 上看到了过滤器代码,甚至查阅了微软示例http://samples.msdn.microsoft.com/workshop/samples/author/filter/blur.htm,它在我的Win7 上的IE 11 中不起作用。你有什么想法,我可能做错了什么?
如果你也在苦苦挣扎,可能会很有趣:http://ie.microsoft.com/testdrive/Graphics/hands-on-css3/hands-on_svg-filter-effects.htm
【问题讨论】:
标签: css internet-explorer filter internet-explorer-11 blur