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

原创
ithorizon 6个月前 (10-19) 阅读数 55 #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将轮廓样式设置为虚线的详细内容,更多请关注IT视界其它相关文章!



热门