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