internet-explorer - 是否可以在 IE 中设计一个带有 css3 阴影 + 渐变 + 圆 Angular 的 div?

标签 internet-explorer css

我试图让我的 IE div 具有与其他浏览器相同的行为。我有这个 CSS:

#featured .Reasons{
    height:auto;
    margin-top:40px;
    padding:35px;
    display:block;

    background-image: linear-gradient(left bottom, rgb(255,255,255) 15%, rgb(245,243,233) 48%, rgb(255,255,255) 79%);
    background-image: -o-linear-gradient(left bottom, rgb(255,255,255) 15%, rgb(245,243,233) 48%, rgb(255,255,255) 79%);
    background-image: -moz-linear-gradient(left bottom, rgb(255,255,255) 15%, rgb(245,243,233) 48%, rgb(255,255,255) 79%);
    background-image: -webkit-linear-gradient(left bottom, rgb(255,255,255) 15%, rgb(245,243,233) 48%, rgb(255,255,255) 79%);
    background-image: -ms-linear-gradient(left bottom, rgb(255,255,255) 15%, rgb(245,243,233) 48%, rgb(255,255,255) 79%);

    background-image: -webkit-gradient(
        linear,
        left bottom,
        right top,
        color-stop(0.15, rgb(255,255,255)),
        color-stop(0.48, rgb(245,243,233)),
        color-stop(0.79, rgb(255,255,255))
    );

    -webkit-box-shadow: 0px 1px 5px 0px #4a4a4a;
    -moz-box-shadow: 0px 1px 5px 0px #4a4a4a;
    box-shadow: 0px 1px 5px 0px #4a4a4a;

    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
}

它适用于除 IE 之外的所有浏览器。我知道 IE 在设计方面有点特别(嗯,让我们说很烦人),但我该如何解决这个问题? 你可以在这里看到它:stringtheori.es 谢谢:)

最佳答案

我以前用过 css3Pie,它很好。但请务必阅读已知问题,以便您可以就是否认为可以使用它做出明智的决定。

http://css3pie.com/about/

关于internet-explorer - 是否可以在 IE 中设计一个带有 css3 阴影 + 渐变 + 圆 Angular 的 div?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11852095/

相关文章:

javascript - 使用 JavaScript 读取 CSS 值

javascript - ie9使用javascript检查是否为空

html - CSS bg 图像定位

CSS:IE 中的多个 bgs、bg clip 和 border-radius

javascript - react 带 : how to make dropDown menu's size fill all of the available space

javascript - IE8 中的圆 Angular ?

html - 如何在 html/css 中创建包含两个文本框及其上方标签的多行?

java - 自动化 Internet Explorer 时如何等待 Java 小程序加载?

javascript - IE 11 无法在 javascript 上正确渲染 div

javascript - 如何制作包含多列选项的选择列表