border-width property এলিমেন্ট বর্ডারগুলোর প্রস্থ সেট করতে ব্যবহৃত হয়। মান লেংথ (px, pt, cm) বা thin, medium, thick কিওয়ার্ড হতে পারে।
উদাহরণ
নিচের কোডটি রান করে CSS-এ বর্ডার প্রস্থ সেট করার পদ্ধতি শিখুন:
<html>
<head>
</head>
<body>
<p style="border-width:4px; border-style:solid;">
David Beckham is a legend. </p>
<p style="border-width:4pt; border-style:dashed;">
Sachin Tendulkar is a legend. </p>
</body>
</html>
সিনট্যাক্স: border-width: top right bottom left; (৪ মান), border-width: vertical horizontal; (২ মান), border-width: top horizontal bottom; (৩ মান), border-width: all; (১ মান)।