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