网页背景颜色渐变代码CSS

沉着前进 2011-09-26

对角线渐变:
<body style="FILTER: progid:DXImageTransform.Microsoft.Alpha( style=1,opacity=25,finishOpacity=100,startX=50,finishX=100,startY=50,finishY=100); BACKGROUND-COLOR: green">
 
上下渐变:
<body leftmargin="0" topmargin="0" style="filter:progid:DXImageTransform.Microsoft.Gradient(startColorStr='#000000', endColorStr='#ffffff', gradientType='0')">
 
左右渐变:
<body leftmargin="0" topmargin="0" style="filter:progid:DXImageTransform.Microsoft.Gradient(

startColorStr='#000000',endColorStr='#ffffff',gradientType='1')">

相关推荐