或者

九种html分割线特效代码

作者:黑猫警长 浏览:72 发布时间:2017-09-04
分享 评论 0

九种html分割线特效

  ①两头渐变透明

  <HR style="FILTER: alpha(opacity=100,finishopacity=0,style=3)" width="80%" color=#987cb9 SIZE=3>

  ②纺锤形

  <HR style="FILTER: alpha(opacity=100,finishopacity=0,style=2)" width="80%" color=#987cb9 SIZE=10>

  ③右边渐变透明

  <HR style="FILTER: alpha(opacity=100,finishopacity=0,style=1)" width="80%" color=#987cb9 SIZE=3>

  ④左边渐变透明

  <HR style="FILTER: alpha(opacity=0,finishopacity=100,style=1)" width="80%" color=#987cb9 SIZE=3>

  ⑤虚线

  <HR style="border:1 dashed #987cb9" width="80%" color=#987cb9 SIZE=1>

  ⑥双线

  <HR style="border:3 double #987cb9" width="80%" color=#987cb9 SIZE=3>

  ⑦立体效果

  <HR style="FILTER: progid:DXImageTransform.Microsoft.Shadow(color:#987cb9,direction:145,strength:15)" width="80%" color=#987cb9 SIZE=1>

  ⑧钢针效果

  <HR style="FILTER: progid:DXImageTransform.Microsoft.Glow(color=#987cb9,strength=10)" width="80%" color=#987cb9 SIZE=1>

  ⑨垂直分割线

  <table border="1px" cellpadding="0" cellspacing="0" style="height:265px;border-left-style:solid; border-bottom-style:none;border-right-style:none;border-top-style:none">

  几种常用线条属性

  align 线条位置(可选left、right、center);width 线条长度;color 颜色;size 厚度

  <HR align=center width=300 color=#987cb9 SIZE=1>