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

CSS white-space প্রপার্টি


এলিমেন্টের ভিতরে হোয়াইট-স্পেস নিয়ন্ত্রণ করতে white-space প্রপার্টি ব্যবহার করুন।

উদাহরণ

<!DOCTYPE html>
<html>
  <head>
    <style>
      p.demo1 {
        white-space: normal;
      }
      p.demo2 {
        white-space: pre;
      }
    </style>
  </head>
  <body>
    <h2>Control white-space</h2>
    <p class="demo1">
      This is demo text. This is demo text.
    </p>
    <p class="demo2">
      This is demo text. This is demo text.
    </p>
  </body>
</html>

  1. CSS user-select প্রোপার্টি

  2. CSS font-size-adjust প্রপার্টি

  3. CSS-এ writing-mode প্রপার্টি

  4. CSS pointer-events প্রপার্টি