PHP前端开发

CSS 轮廓属性

百变鹏仔 4周前 (09-19) #CSS
文章标签 轮廓

outline 属性是一个简写属性,允许您指定多个属性的值,例如颜色、样式、轮廓宽度。

示例

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