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

CSS animation শর্টহ্যান্ড প্রোপার্টি দিয়ে সব এনিমেশন প্রোপার্টি একসাথে সেট করা

animation শর্টহ্যান্ড প্রোপার্টি দিয়ে animation-name, animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-direction, animation-fill-mode, animation-play-state — সব একসাথে লিখা যায়।

উদাহরণ

<!DOCTYPE html>
<html>
  <head>
    <style>
      div {
        width: 150px;
        height: 200px;
        background-color: yellow;
        animation: myanim 2s;
      }
      @keyframes myanim {
        from { background-color: green; }
        to   { background-color: blue; }
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>

সিনট্যাক্স: animation: name duration timing-function delay iteration-count direction fill-mode play-state; — ক্রম মেনে চললে সব মান ঐচ্ছিক।

  1. CSS top প্রপার্টি অ্যানিমেশন সহ

  2. CSS-এ border শর্টহ্যান্ড প্রপার্টি

  3. CSS-এ Background শর্টহ্যান্ড প্রপার্টি

  4. CSS-এ Outline শর্টহ্যান্ড প্রপার্টি