34755人阅读

各种分割线Html代码

一、基本线条:

1、<HR>


2、<HRalign=center width=300 color=#987cb9SIZE=1>
align线条位置(可选left、right、center);width线条长度;color颜色;size厚度


 

二、特效(效果并不是孤立的,可相互组合)
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="border:1 dashed #987cb9" width="80%"color=#987cb9 SIZE=1>


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


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


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


9.垂直分割线

<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">

 

附:另附虚线的Html代码:

 

HTML代码:


[Ctrl+A 全部选择提示:你可先修改部分代码,再按运行]



 

HTML代码:


[Ctrl+A 全部选择提示:你可先修改部分代码,再按运行]


 

HTML代码:


[Ctrl+A 全部选择提示:你可先修改部分代码,再按运行]


 

HTML代码:


[Ctrl+A 全部选择提示:你可先修改部分代码,再按运行]


 

HTML代码:


[Ctrl+A 全部选择提示:你可先修改部分代码,再按运行]

来自专栏

WEB

 rongwenbin 25篇文章  1人订阅

发布于2014-12-08著作权归作者所有

相关推荐更多

HTML代码】几种美丽的分割线

iKendall 2171 阅读  0 评论

HTML 几种特别分割线特效

weixin_38687505 0 下载

php分割线代码,html竖直分割线如何设置?html竖直分割线代码讲解

努力提高做饭水平 443 阅读  0 评论

HTML如何做出分割线效果

Nick_Spider 2万+ 阅读  0 评论

几种常见的HTML分割线

各种颜色的气球 4万+ 阅读  1 评论

html一行小圆点分割线,几种常见的HTML分割线

01268 786 阅读  0 评论

html各种分割线_sunlit_6的博客_html分割线

各种分割线Html代码 1、<HR> 2、<HR align=center width=300 color=#987cb9 SIZE=1> align 线条位置(可选left、right、center);width 线条长度;color 颜色;size 厚度 二、特效(效果并不是孤立的,可相互组合) ...

html几种美丽的分割线_xosg的博客_html分割线

</html> 8、钢针效果: <HR style="FILTER: progid:DXImageTransform.Microsoft.Glow(color=#987cb9,strength=10)" width="80%" color=#987cb9 SIZE=1> 垂直分割线 <table border="1px" cellpadding="0" cellspacing="0" styl...

最新发布 html中画分割线代码,各种分割线Html代码

怪獸冰激 3897 阅读  0 评论

html设置分割线虚线,css border设置虚线样式?

夏欢Vivian 4142 阅读  0 评论

热门推荐 html几种美丽的分割线

xosg 8万+ 阅读  7 评论

html表格中加入虚线分割,制作虚线表格三种方法

white belly 1132 阅读  0 评论

更多推荐

html分割线