使用 CSS 将轮廓样式设置为山脊

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

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

示例

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

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



热门