使用 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>