要将轮廓样式设置为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 将轮廓样式设置为山脊的详细内容,更多请关注双恒网络其它相关文章!