কম্পিউটার

CSS সর্বোচ্চ-উচ্চতায় অ্যানিমেশন সম্পাদন করুন


CSS-এর সাথে সর্বোচ্চ-উচ্চতা সম্পত্তিতে অ্যানিমেশন প্রয়োগ করতে, আপনি নিম্নলিখিত কোডটি চালানোর চেষ্টা করতে পারেন:

উদাহরণ

<!DOCTYPE html>
<html>
   <head>
      <style>
         div {
            width: 350px;
            background-color: orange;
            overflow: auto;
            border: 1px solid black;
            animation: myanim 3s infinite;
         }
         @keyframes myanim {
            30% {
               max-height: 100px;
            }
         }
      </style>
   </head>
   <body>
      <h1>Example of max-height</h1>
      <div>
         <p>This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
            This is demo text. This is demo text. This is demo text.
         </p>
      </div>
   </body>
</html>

  1. CSS মার্জিন-শীর্ষে অ্যানিমেশন সম্পাদন করুন

  2. CSS মিনিম-প্রস্থে অ্যানিমেশন সম্পাদন করুন

  3. CSS মিন-উচ্চতায় অ্যানিমেশন সম্পাদন করুন

  4. CSS সর্বোচ্চ-প্রস্থে অ্যানিমেশন সম্পাদন করুন