outline-width 屬性用來設定輪廓的寬度。它的值應該是一個長度或細、中或粗值之一,就像 border-width 屬性一樣。
<html> <head> </head> <body> <p style = "outline-width:thin; outline-style:solid;"> This text is having thin outline. </p> <br /> <p style = "outline-width:thick; outline-style:dashed;"> This text is having thick outline. </p> <br /> <p style = "outline-width:5px; outline-style:dotted;"> This text is having 5x outline. </p> </body> </html>
以上是CSS 輪廓寬度屬性的詳細內容。更多資訊請關注PHP中文網其他相關文章!