জয়েন লগইন

সিএসএস animation-fill-mode

🌈সিএসএস animation-fill-mode কি?

📋সিএসএস animation-fill-mode হলো অ্যানিমেশন পুরণের ধরন নির্ধারণ করার পদ্ধতি।

⚒️সিএসএস animation-fill-mode অ্যানিমেশন পুরণের ধরন নির্ধারণ করতে ব্যবহৃত হয়।

সিএসএস animation-fill-mode অ্যানিমেশন পুরণের ধরন নির্ধারণ করার উদাহরণ।

css
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.animation {
  width: 50px;
  height: 50px;
  background: pink;
  position: relative;
  animation: mymove 3s;
  animation-fill-mode: forwards;
}

@keyframes mymove {
  from {top: 0px;}
  to {top: 200px; background-color: blue;}
}
</style>
</head>
<body>
<div class="animation"></div>
</body>
</html>