Computer >> คอมพิวเตอร์ >  >> การเขียนโปรแกรม >> CSS

คุณสมบัติความกว้างเค้าร่าง CSS


ความกว้างโครงร่าง คุณสมบัติใช้เพื่อกำหนดความกว้างของโครงร่าง ค่าควรเป็นค่าความยาวหรือค่าใดค่าหนึ่ง บาง ปานกลาง หรือ หนา เช่นเดียวกับแอตทริบิวต์ border-width

ตัวอย่าง

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:thin; outline-style:solid;">
         This text is having thin outline.
      </p>
      <br />
      <p style = "outline-width:thick; outline-style:dashed;">
         This text is having thick outline.
      </p>
      <br />
      <p style = "outline-width:5px; outline-style:dotted;">
         This text is having 5x outline.
      </p>
   </body>
</html>