
html开发中,如何做一条分割线,下面web建站小编给大家简单介绍一下!
基本分割线线条hr:
<hr align=center width=500 color=#f00 size=1>
扩展开发:
1、两头渐变透明:
<hr style="filter:alpha(opacity=100,finishopacity=0,style=2)" width="80%"color=#f00 size=10>
2、纺锤形:
<hr style="filter:alpha(opacity=100,finishopacity=0,style=1)" width="80%"color=#f00 size=3>
3、右边渐变透明:
<hr style="filter:alpha(opacity=0,finishopacity=100,style=1)" width="80%"color=#f00 size=3>
4、左边渐变透明:
<hr style="border:1 dashed #f00" width="80%"color=#f00 size=1>
5、虚线:
<hr style="border:3 double #f00" width="80%"color=#f00 size=3>
6、双线:
<hr style="filter:progid:dximagetransform.microsoft.shadow(color:#f00,direction:145,strength:15)"width="80%" color=#f00 size=1>
7、立体效果:
<hr style="filter:progid:dximagetransform.microsoft.glow(color=#f00,strength=10)"width="80%" color=#f00 size=1>
8、钢针效果:
<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">
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">
hbuilder微信小程序自定义头部导航栏navigationStyle
上面是“html如何做分割线”的全面内容,想了解更多关于 前端知识 内容,请继续关注web建站教程。
当前网址:https://m.ipkd.cn/webs_4800.html
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

MakeSong:用户可以通过输入歌词或描述来生成高质量的音乐作品
Wan2.5:阿里多模态生成模型重磅升级,解锁音画同步创作新体验
图司机官网:在线一键搞定设计、印刷并能在线图片编辑
css3利用sticky实现滚动标题变化效果
织梦DedeCMS5.7内容列表标签无法调用副栏目文章的