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

CSS-এ margin-bottom property ব্যবহার

margin-bottom property এলিমেন্টের নিচের মার্জিন নির্দিষ্ট করে। মান লেংথ, পারসেন্টেজ বা auto হতে পারে।

উদাহরণ

<html>
  <head>
  </head>
  <body>
    <p style="margin-bottom: 20px; border:2px solid red;">
      This is a paragraph with a specified bottom margin. </p>
    <p style="margin-top: 20%; border:2px solid green;">
      This is another paragraph with a specified top margin in percent </p>
  </body>
</html>

নোট: দ্বিতীয় উদাহরণে margin-top ব্যবহার করা হয়েছে, margin-bottom নয়। এখানে সংশোধন করা হয়েছে।

  1. CSS-এ margin প্রোপার্টির ব্যবহার

  2. CSS transform-style প্রোপার্টির ব্যবহার

  3. CSS transform-origin প্রোপার্টির ব্যবহার

  4. CSS transform প্রপার্টির ব্যবহার