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

การใช้คุณสมบัติ border-top-style ใน CSS


border-top-style คุณสมบัติเปลี่ยนรูปแบบของเส้นขอบบน คุณสามารถลองเรียกใช้โค้ดต่อไปนี้เพื่อใช้งาน border-top-style คุณสมบัติ:

ตัวอย่าง

<html>
   <head>
   </head>
   <body>
      <p style = "border-width:4px;border-top-style:dashed;">
         This is demo content
      </p>
   </body>
</html>