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

PHPz
PHPz 转载
2023-09-10 18:57:06 485浏览

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

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

示例

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

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

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