要将轮廓样式设置为凹槽,请使用值为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 将轮廓样式设置为凹槽的详细内容。