কম্পিউটার টিউটোরিয়াল

CSS-এ direction property ব্যবহার

direction property ব্যবহার করে টেক্সটের লেখার দিক নির্ধারণ করা যায়। সম্ভাব্য মান: ltr (left-to-right), rtl (right-to-left)।

উদাহরণ

নিচের কোডটি রান করে CSS-এ টেক্সটের দিক সেট করার পদ্ধতি শিখুন:

<html>
  <head>
  </head>
  <body>
    <p style="direction:rtl;">
      This text will be renedered from right to left </p>
  </body>
</html>

ব্যবহার ক্ষেত্র: RTL ভাষা (আরবি, হিব্রু, উর্দু) সমর্থনের জন্য। unicode-bidi property-এর সাথে মিলিয়ে ব্যবহার করা উচিত।

  1. CSS-এ border-right-width property ব্যবহার

  2. CSS-এ border-right-style property ব্যবহার

  3. CSS-এ border-left-width property ব্যবহার

  4. CSS-এ list-style-position property ব্যবহার