Is the filter: progid:DXImageTransform.Microsoft.DropShadow(OffX="x", OffY="y", Color="color")
method a viable replacement for the text-shadow:
attribute in non-IE browsers?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
- Is TWebBrowser dependant on IE version?
Yes, they are roughly equivalent, per what Alex said. BUT - the IE filter renders in a hideously ugly way.
If text shadow is necessary (I just let IE go without for the most part, but sometimes it's needed), one method I found was to literally duplicate the desired element, position it under the target element, then apply the blur filter to the duplicate, as it renders much nicer.
For example, if you have jquery, and want to target H2's:
Then in CSS:
I wish I could find the thread where I found this idea - it may have even been on SO - so, apologies to the original person who came up with this!
Yes, but they are not exactly the same.
I don't believe you can do multiple text shadows with the proprietary IE method.