欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

边框border属性总结

发布时间:2025/3/20 编程问答 33 豆豆
生活随笔 收集整理的这篇文章主要介绍了 边框border属性总结 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

留着这些属性自己以后方便看:


其中border-style的值是:


<<span style="font-size:18px;">html> <head><style type="text/css">p.dotted {border-style: dotted}p.dashed {border-style: dashed}p.solid {border-style: solid}p.double {border-style: double}p.groove {border-style: groove}p.ridge {border-style: ridge}p.inset {border-style: inset}p.outset {border-style: outset}</style> </head><body><center><div style="width:300px;text-align:center;"><p class="solid">实线</p><p class="dashed">虚线</p><p class="dotted">点状边框</p><p class="double">双线</p><p class="groove"> 3D 凹槽边框</p><p class="ridge">3D 垄状边框</p><p class="inset">3D inset 边框</p><p class="outset">3D outset 边框</p></div></center></body> </html> </span>


总结

以上是生活随笔为你收集整理的边框border属性总结的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。