使用 CSS 将轮廓样式设置为槽状
要将轮廓样式设置为槽状,可以使用 outline-style 属性,其值为 groove。在 groove 下,轮廓看起来就像刻到页面上。−
示例
<html> <head> </head> <body> <p style = "outline-width:3px;outline-style:groove;"> This text is having 3px groove outline. </p> </body> </html>
广告
要将轮廓样式设置为槽状,可以使用 outline-style 属性,其值为 groove。在 groove 下,轮廓看起来就像刻到页面上。−
<html> <head> </head> <body> <p style = "outline-width:3px;outline-style:groove;"> This text is having 3px groove outline. </p> </body> </html>