背景:
阅读新闻

Vml教程:使用fill的color2变生二次视觉填充效果

[日期:2003-07-08] 来源:蓝丽技术论坛  作者:lshdic [字体: ]
<HTML xmlns:v>
<HEAD>
<META http-equiv="Content-Type" content="text/html; Charset=gb2312">
<META name="GENERATOR" content="网络程序员伴侣-Lshdic 2002">
<TITLE></TITLE>
<STYLE>
body{}
a{}
a:hover{}
v\:*{behavior:url(#default#VML);} //这里声明了v作为VML公用变量
</STYLE>
</HEAD>
<BODY bgcolor="" text="" topmargin="" leftmargin="">
<BASE target="">

<v:Roundrect style='width:200;height:200;'>  <!--以圆角表格为例-->
<v:fill type='gradient' color='red'/>
</v:Roundrect>

<v:Roundrect style='width:200;height:200;'>  <!--以圆角表格为例-->
<v:fill type='gradient' color2='red'/>
</v:Roundrect>&nbsp;<p>

<v:rect style='width:200;height:200;'>  <!--以方块为例-->
<v:fill type='gradientradial' color='blue'/>
</v:rect>

<v:rect style='width:200;height:200;'>  <!--以方块为例-->
<v:fill type='gradientradial' color2='blue'/>
</v:rect>

</BODY>
</HTML>
收藏 推荐 打印 | 录入:木鸟 | 阅读:
相关新闻      
本文评论   [发表评论]   全部评论