@keyframes

Submitted by: 
What is a @keyframes in CSS3? The @keyframes rule is used to create animations. In general, an animation in CSS3 is defined as changing from one CSS style to another. Structure: @keyframes name { selector { styles ; } } Property Values: name – it’s specifies the name of the animation. (required) selector – it’s specifies that percentage of the animation duration. (required) Possible Value: 0 –...
Submitted by: 
This project will teach you on how to animate object with a floating effect using CSS keyframes. In my example, I have a background image of a levitating man. Using the @keyframes, the man moves like he is really floating. Then the shadow below suddenly fades as the man comes up. Hope you learn from this.