&nb"/>  &nb">

首頁  >  文章  >  web前端  >  CSS 輪廓屬性

CSS 輪廓屬性

WBOY
WBOY轉載
2023-09-12 15:41:02926瀏覽

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

以上是CSS 輪廓屬性的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:tutorialspoint.com。如有侵權,請聯絡admin@php.cn刪除