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

CSS max-height প্রপার্টি

ওভারভিউ

max-height প্রপার্টি একটি বক্সের সর্বোচ্চ হাইট কত হবে তা সেট করতে ব্যবহৃত হয়। max-height প্রপার্টির মান একটি নম্বর, দৈর্ঘ্য, বা পার্সেন্টেজ হতে পারে।

উদাহরণ

<html>
    <head>
    </head>
    <body>
        <p style = "width:400px; max-height:10px; border:2px solid green; padding:10px; margin:15px;">
               This paragraph is 400px wide and max height is 10px
               This paragraph is 400px wide and max height is 10px
               This paragraph is 400px wide and max height is 10px
               This paragraph is 400px wide and max height is 10px
        </p>
        <br>
        <br>
        <br>
        <img alt = "logo" src="/css/images/logo.png" width = "210" height = "100" />
    </body>
</html>
  1. CSS animation-direction প্রপার্টি

  2. CSS object-fit প্রপার্টি

  3. CSS height প্রপার্টি অ্যানিমেট করুন

  4. CSS-এ max-height প্রপার্টি