如何为 IE 设置渐变,因为我在尝试但没有任何运气,我让它在 chrome、firefox、opera 上工作,但在 IE 中没有
html, body {
height: 100%;
background-image: -ms-linear-gradient(top, #BDE25E 0%, #8BB31D 100%);
background-image: -moz-linear-gradient(top, #BDE25E 0%, #8BB31D 100%);
background-image: -o-linear-gradient(top, #BDE25E 0%, #8BB31D 100%);
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #BDE25E), color-stop(1, #8BB31D));
background-image: -webkit-linear-gradient(top, #BDE25E 0%, #8BB31D 100%);
background-image: linear-gradient(to bottom, #BDE25E 0%, #8BB31D 100%);
background-repeat: no-repeat;
background-attachment: fixed;
font-family:Tahoma, Geneva, sans-serif;
color:#FFFFFF;
font-size:11px;
}
但是当我在 IE 中启动它时,我得到的是白色背景而不是绿色渐变。