Internet Explorer 阴影滤镜破坏图像透明度?

发布于 2024-09-15 17:49:38 字数 238 浏览 8 评论 0原文

Internet Explorer 似乎无法处理两个具有不同半透明背景的 div。

顶部 div 失去所有不透明度。

有什么办法可以解决这个问题吗?


更新

好的,我发现了问题:filter: Shadow(Color=#474747, Direction=125, Strength=2); 显然滤镜会消除图像中的不透明度?

Internet explorer seems to not handle having two divs both with different semi-transparent backgrounds.

The top div loses all opacity.

Is there any way to fix this?


Update

Ok I found the issue: filter: Shadow(Color=#474747, Direction=125, Strength=2);
apparently the filters kill opacity in images?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情定在深秋 2024-09-22 17:49:46

IE8 有许多记录的透明 png 问题,有一些解决方法,快速的 google 搜索可以帮助您解决问题,但这里有一个可以帮助您入门的方法:

如何修复 IE 上的透明 PNG。

IE8 has many documented transparent png problems, there are a few workarounds, a quick google search wouldhelp you out, but here's one to get you started:

How to fix transparent PNG on IE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文