用CSS将轮廓样式设置为虚线

PHPz
PHPz 转载
2023-09-11 09:57:06 972浏览

用CSS将轮廓样式设置为虚线

要将轮廓样式设置为点线,请使用值为dottedoutline-style属性 −

<html> <head> </head> <body> <p style = "outline-width:7px;outline-style:dotted;"> This text is having 7px dotted outline. </p> </body> </html>

以上就是用CSS将轮廓样式设置为虚线的详细内容,更多请关注php中文网其它相关文章!

声明:本文转载于:tutorialspoint,如有侵犯,请联系admin@php.cn删除