English 中文(简体)
CSS 弹 is按背景加以拦截
原标题:CSS Filter is stopped by background

请允许我说,我有这样的话。

.test {
filter:DropShadow(Color=#000000, OffX=1, OffY=1);
}

是的,它进行罚款。 文本影子出现在因特网探索者身上。 然而,如果我添加类似颜色的背景:

    .test {
    filter:DropShadow(Color=#000000, OffX=1, OffY=1);
    background:#ffffff;
}

你们是否可以猜测发生什么? 过滤器走了! 然而,如果我再次搬走背景财产......过滤器(影子)回来!

帮助?

最佳回答

您是否试图在过滤器之前把背景归为物?

.test {
    background:#000000;
    filter:DropShadow(Color=#000000, OffX=1, OffY=1);
}
问题回答

佛得角武装部队刚刚认识到你的背景, drop色也一样。 难道你能够告诉我们吗?

如果你不希望这样做。

.test {
    background:#000000;
    filter:DropShadow(Color=#000000, OffX=1, OffY=1) !important;
}




相关问题
Image rendered with wrong colors in IE8

I have a gradient image as a PNG (no transparency) in a web-page. By taking a screenshot of Chrome showing the page and cropping the image from the page, I see the exact same colors are drawn as the ...

Determine Mobile Internet Explorer version

I need to determine the version of Mobile Internet Explorer on a Windows Mobile 6.1 device. So that I can report the same user-agent string as is being used by Mobile Internet Explorer. The user-...

CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

Internet Explorer only part loading JavaScript/CSS

I m having trouble with my local development environment where IE (6 through to 8) is only part loading JavaScript/CSS files. It throws random errors at random places in jquery.min.js every time I ...

IE doesn t run Javascript when you click back button

I ve built a shop with tons of JS running. One of the pieces of the cart, is a zip code field which is required to calculate shipping cost. This works fine going through the cart. Now clicking ...

热门标签