使用 CSS 将轮廓样式设置为凹槽

cssweb developmentfront end technology更新于 2025/8/22 20:28:17

要将轮廓样式设置为凹槽,请使用 outline-style 属性,并将值设置为凹槽。在凹槽样式下,轮廓看起来就像刻在页面上一样。−

示例

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

相关文章


有用资源