使用 CSS 单个语句设置轮廓的宽度、线条样式和颜色属性
轮廓属性是一个速记属性,可让你指定多个属性的值,如轮廓的宽度、线条样式和颜色。
范例
<html> <head> </head> <body> <p style = "outline:thin solid green;"> This text is having thin solid freen outline. </p> <br /> <p style = "outline:thick dashed #009900;"> This text is having thick dashed green outline. </p> <br /> </p> </body> </html>
广告