如何创建点< hr/& gt;标签? [英] How to create a dotted <hr/> tag?

查看:61
本文介绍了如何创建点< hr/& gt;标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用CSS创建虚线或任何类型的hr线(双,虚线等)?

How can I create a dotted or any type of hr line (double, dashed etc.) using CSS?

<hr style="...what should I write?..." />

或者还有其他技巧吗?

推荐答案

您可能只需< hr style ="border-top:点缀1像素;"/> .那应该起作用.

You could just have <hr style="border-top: dotted 1px;" /> . That should work.

这篇关于如何创建点&lt; hr/&amp; gt;标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆