| ///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"> |
|
10、Mask属性 Mask属性为对象建立一个覆盖于表面的膜。它的表达式也很简单: Filter:Mask(Color=颜色) 只有一个Color参数,用来指定使用什么颜色作为掩膜。 ///pc/homepage/css/img/css046.gif" width="303" height="106" border="0" alt="原图"> 原 图 ///pc/homepage/css/img/css047.gif" width="286" height="113" border="0" alt="mask属性效果图"> Mask属性效果图 加上MASK属性的效果就好象是在用有色眼镜看物体一样。上面的效果的代码如下: <html> 其实,您就算在代码中去掉对字体前景色的定义,得到的效果还是一样的。因为有了Mask属性的定义,它遮罩下的字体颜色的设置就已经失去了意义。
/pc/bin/msg.pl?file_id=k_css target="_blank">///pc/img/message.gif" width="64" height="54" alt="请您留言" border="0">
|
|