| ///pc/img/blank.gif" width="12" height="8">当前位置:///default.htm" class="under">亿度网络 -> ///pc/index.htm" class="under">网页制作教程 -> CSS教程 |
→
CSS快速入门 /pc/bin/msg.pl?file_id=k_css target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
|
///pc/img/blank.gif" width="1" height="1"> |
|
5、DropShadow属性 DropShadow属性是为了添加对象的阴影效果的。它实现的效果看上去就像使原来的对象离开页面,然后在页面上显示出该对象的投影。看一看它的表达式: Filter:DropShadow(Color=color,Offx=Offx,Offy=offy, 该属性一共有四个参数: Color代表投射阴影的颜色。 Offx和offy分别X方向和Y方向阴影的偏移量。偏移量必须用整数值来设置。如果设置为正整数,代表X轴的右方向和Y轴的向下方向。设置为负整数则相反。
///pc/homepage/css/img/css034.gif" width="278" height="79" border="0" alt="dropshadow属性效果"> 看,图中的文字就像是从页面上飞出来一样,并且留下了一层淡淡的影子。 <html> 和chroma属性一样,Dropshadow属性对图象的支持不好,我指的是JPEG、GIF格式的图象文件。 本节讲述了Dropshadow属性的应用,下一节将向您介绍FlipH、FlipV的属性应用。
/pc/bin/msg.pl?file_id=k_css target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
|
|