本文介绍了等效于IE中的文本阴影的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的CSS:
body.transparent {
background-color: transparent;
color: #ffffff;
text-shadow: 0 -1px #000, 1px 0 # 000, 0 1px #000, -1px 0 # 000;
}
body.transparent a {
text-shadow: none;
}
但它不能在IE上工作。如何解决这个问题?有没有任何等效的IE?
But it doesn't work on IE. How do it solve this? Is there any equivalent for IE?
推荐答案
Google Mojo:。
Google Mojo: An Option to Mimic CSS3 Text Shadow in Internet Explorer.
filter: glow(color=black,strength=5);
此网站还列出了使用JavaScript的其他解决方法。
The site also lists some other workarounds with JavaScript.
这篇关于等效于IE中的文本阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!