简体   繁体   中英

Equivalent to text-shadow in IE

I have this in my 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;
}

But it doesn't work on IE. How do it solve this? Is there any equivalent for IE?

Google Mojo: An Option to Mimic CSS3 Text Shadow in Internet Explorer .

filter: glow(color=black,strength=5); 

The site also lists some other workarounds with JavaScript.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM