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

原创
ithorizon 6个月前 (10-19) 阅读数 54 #CSS

要将轮廓样式设置为虚线,请使用值为dashed的outline-style属性>

示例

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

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



热门