我试图让我的 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,它很好。但请务必阅读已知问题,以便您可以就是否认为可以使用它做出明智的决定。
关于internet-explorer - 是否可以在 IE 中设计一个带有 css3 阴影 + 渐变 + 圆 Angular 的 div?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11852095/