PIE使IE支持CSS3之gradient背景渐变测试实例页面
代码:
CSS代码:
.pie_gradient{ width:360px; height:200px; background-color:#9F9; background:-webkit-gradient(linear, 0 0, 0 bottom, from(#9F9), to(#393)); background:-moz-linear-gradient(#9F9, #393); -pie-background:linear-gradient(#9F9, #393); position:relative; behavior:url(pie.htc); }
HTML代码:
<div class="pie_gradient"></div>