【问题标题】:shadow not working on IE 7 and IE 8 [duplicate]阴影不适用于 IE 7 和 IE 8 [重复]
【发布时间】:2013-04-13 02:54:30
【问题描述】:

为什么这个 css 不能在 ie 7 和 ie 8 上工作

.shadow
{
    -moz-box-shadow: 3px 3px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow: 3px 3px 4px rgba(0,0,0,0.4);
    -o-box-shadow: 3px 3px 4px rgba(0,0,0,0.4);
    -o-transition: box-shadow 0.4s;
    box-shadow: 3px 3px 4px rgba(0,0,0,0.4); /* For IE 8+ */
    zoom: 1;
    filter: progid:DXImageTransform.Microsoft.Shadow(color='#000000', Direction=145, Strength=3); /* For IE 5.5 - 7 */
}

【问题讨论】:

    标签: html css


    【解决方案1】:

    使用this可以应用阴影。检查一次

    【讨论】:

    • @user1273915 你有解决办法吗
    • 如果你得到了我的答案的解决方案,请接受这个作为答案
    猜你喜欢
    • 2012-06-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-06-14
    相关资源
    最近更新 更多