transform: scale(2);
scale: N;
=> Scales in x & y direction equallyscale: N1 N2;
scale: N1 N2 N3;
transform: translate(2em 2em);
transform: translateX(2em);
transform: translateY(2em);
translate: Npx;
=> Moves right by given valuetranslate: N1px N2px;
translate: N1px N2px N3px;
transform: rotate(2deg);
rotate: Ndeg;
=> Rotates in clock-wise directionrotate: x Ndeg;
=> Rotates in x directionrotate: 1 0 1 Ndeg;
=> Rotates in only given directiontransform: skew(2deg);
transform-origin: center/0;
transition: property-name transition-duration transition-timing-function transition-delay;
transition: 250ms ease-in-out;
=> Simplest way to add animationtransition-property: property-name/all;
transition-timing-function: ease-in/ease-out;
animation: animation-name animation-duration animation-timing-function animation-delay animation-iteration-count animation-direction;
animation-iteration-count: 2/infinite;
animation-fill-mode: forwards/alternate;
animation-timing-function: ease-in/ease-in-out/ease-out;
@keyframes animation-name {
from{}
to{}
50%{}
}