HOME div { width: 100px; height: 100px; background-color: red; animation-name: example; animation-duration: 4s; } @keyframes example { from {background-color: red;} to {background-color: yellow;} }

CSS Animation

Note: When an animation is finished, it goes back to its original style.

ABOUT ME BACKGROUND ORGANIZATION CHART ACTIVITIES CONTACT US MAP