transform: rotate, scale, translate, skew,
It is common for multiple transforms to be used at once, rotating and scaling the size of an element at the same time. To combine transforms, list the transform values within the transform property one after the other without the use of commas.
3D Rotate , 3D Scale , 3D Translate .(3D Skew is not suppurt 3d) as:: transform: perspective(200px) rotateZ(45deg);
Not all properties may be transitioned, only properties that have an identifiable halfway point. Colors, font sizes, and the alike may be transitioned from one value to another as they have recognizable values in-between one another. A handful of the more popular transitional properties include the following.
Take value with seconds (s) and milliseconds (ms).
transition-duration: .2s, 1s; transition-timing-function: linear;
ransition-duration: .2s, 1s; transition-timing-function: linear, ease-in;
transition-delay: 0s, 1s;
An animation lets an element gradually change from one style to another. You can change as many CSS properties you want, as many times as you want. To use CSS animation, you must first specify some keyframes for the animation.
In this chapter you will learn about the following properties:
@keyframes slide {
}
animation-name: slide;
animation-duration: 2s;
animation-delay: .5s;
animation-iteration-count: infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
we can play with value as we want.