且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Firefox混合混合模式错误

更新时间:2023-02-17 18:54:14

我发现你需要在图像后面设置一个背景颜色,并且为Firefox正确渲染div。因此,如果您的图像只占用了混合混合模式集的div的一部分,则包含或位于其余div的背景div需要一个颜色集,以便计算起作用。在设置背景颜色之前,我看到部分黑色div。

I found that you need to set a background color behind the image and div for Firefox to render properly. So if your image takes up only part of the div that has mix-blend-mode set, the background div containing or behind the rest of the div needs a color set for the calculation to work. I was seeing partial black divs before setting the background color.

这么说,你的例子似乎在Firefox 41中工作。

All that said, your example seems to be working in Firefox 41 as is now.