如何定义html hr 样式(多种效果)
(编辑:jimmy 日期: 2024/11/1 浏览:2)
1、两头渐变透明:
复制代码代码如下:
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=3)" width="80%" color=#987cb9 SIZE=3>
--------------------------------------------------------------------------------
2、纺锤形:
复制代码代码如下:
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=2)" width="80%" color=#987cb9 SIZE=10>
--------------------------------------------------------------------------------
3、右边渐变透明:
复制代码代码如下:
<HR style="FILTER: alpha(opacity=100,finishopacity=0,style=1)" width="80%" color=#987cb9 SIZE=3>
--------------------------------------------------------------------------------
4、左边渐变透明:
复制代码代码如下:
<HR style="FILTER: alpha(opacity=0,finishopacity=100,style=1)" width="80%" color=#987cb9 SIZE=3>
--------------------------------------------------------------------------------
5、立体效果:
复制代码代码如下:
<HR style="FILTER: progid:DXImageTransform.Microsoft.Shadow(color:#987cb9,direction:145,strength:15)" width="80%" color=#987cb9 SIZE=1>
--------------------------------------------------------------------------------
6、钢针效果:
复制代码代码如下:
<HR style="FILTER: progid:DXImageTransform.Microsoft.Glow(color=#987cb9,strength=10)" width="80%" color=#987cb9 SIZE=1>