Gradient滤镜效果。

2016-02-22    编辑:safeman     点击(

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>New document</title>
<style type="text/css">
<!--
div#div1
{
 width:500px;height:100px;background-color:#aaa;
 color:#fff;font-size:12px;padding:20px;
 filter : progid:DXImageTransform.Microsoft.gradient(gradientType=1,startColorStr=#0000ff,endColorStr=#ffffff);
}
-->
</style>
</head>
<body>
<div id="div1">
Gradient滤镜效果。
</div>
</body>
</html>