我用的编辑器是eclipse,这个根据个人喜好来定,用什么都无所谓的,就算你直接用txt也照样能实现这里的效果,毕竟只是静态。
第一种:

第二种:
- <hr style="height:1px;border:none;border-top:1px dashed #0066CC;" />

第三种:
- <hr style="height:1px;border:none;border-top:1px solid #555555;" />

第四种:
- <hr style="height:3px;border:none;border-top:3px double red;" />
第五种:
- <hr style="height:5px;border:none;border-top:5px ridge green;" />
第六种:
- <hr style="height:10px;border:none;border-top:10px groove skyblue;" />
border-top:10px groove skyblue; groove 上颜色 skyblue 下颜色
只要hr样式用的好,会让你的网页活灵活现的哦!
版权声明:文章图片资源来源于网络,如有侵权,请留言删除!!!
评论