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

CSS transition-timing-function প্রোপার্টি

transition-timing-function দিয়ে ভিন্ন গতি কার্ভ সেট করতে নিচের কোডটি রান করুন:

উদাহরণ

<!DOCTYPE html> <html>    <head>       <style>          div {             width: 100px;             height: 100px;             background: red;             transition: width 4s;          }          #effect1 {             transition-timing-function: linear;          }          #effect2 {             transition-timing-function: ease-in;          }          #effect3 {             transition-timing-function: ease-out;          }          div:hover {             width: 250px;          }       </style>    </head>    <body>       <h1>Transition Effect</h1>       <p>Hover over the div elements and see the transition effect and the speed:</p>       <div id = "effect1">linear effect</div><br>       <div id = "effect2">ease-in effect</div><br>       <div id = "effect3">ease-out effect</div><br>    </body> </html>

  1. CSS order প্রোপার্টি

  2. CSS flex-basis প্রোপার্টি অ্যানিমেট করা

  3. CSS @keyframes দিয়ে flex-shrink প্রোপার্টি এনিমেট করা

  4. CSS isolation প্রপার্টি