要将轮廓样式设置为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 将轮廓样式设置为山脊的详细内容。