使用 CSS 將輪廓樣式設定為虛線
要將輪廓樣式設定為虛線,請將 outline-style 屬性與值 dotted 一起使用 −
示例
<html> <head> </head> <body> <p style = "outline-width:7px;outline-style:dotted;"> This text is having 7px dotted outline. </p> </body> </html>
廣告
要將輪廓樣式設定為虛線,請將 outline-style 屬性與值 dotted 一起使用 −
<html> <head> </head> <body> <p style = "outline-width:7px;outline-style:dotted;"> This text is having 7px dotted outline. </p> </body> </html>