我已經使用過濾器,以獲得全面的邊界,但它在IE7中,8不支持的梯度和邊界半徑,9如何在支持Java腳本的DIV的html中創建圓形漸變漸變?
<style type="text/css">
div{
width: 420px;
height: 220px;
border-radius: 12px;
border: 11px solid #35b70e;
background: -moz-linear-gradient(top, #fff, #ddd);
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffffff, endColorstr=#ffdddddd);
}
</style>
而你的問題是? – KMan 2012-01-14 11:26:42
我如何使它在IE7,ie8和IE9中工作? – 2012-01-14 11:28:28
有關'filter'(漸變)的正確用法,請參閱http://stackoverflow.com/a/7546655/938089。你能更清楚地描述你的問題嗎?什麼是「不工作」? – 2012-01-14 11:32:24