用 CSS 将边框样式设置为筋纹
要将边框样式设置为筋纹,请将 outline-style 属性与 ridge 值配合使用。在凹槽下,边框看起来像是刻在页面上的。ridge 值相反。
示例
<html> <head> </head> <body> <p style = "outline-width:3px;outline-style:ridge;"> This text is having 3px ridge outline. </p> </body> </html>
广告
要将边框样式设置为筋纹,请将 outline-style 属性与 ridge 值配合使用。在凹槽下,边框看起来像是刻在页面上的。ridge 值相反。
<html> <head> </head> <body> <p style = "outline-width:3px;outline-style:ridge;"> This text is having 3px ridge outline. </p> </body> </html>