انیمیشنها (Animations)
ساخت انیمیشنهای پیچیده با @keyframes.
@keyframes
CSS
@keyframes bounce {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-20px); }
}
.ball {
animation: bounce 1s ease infinite;
}ویژگیهای animation
animation-name، duration، timing-function، delay، iteration-count، direction، fill-mode