CSS Transitions smoothly animate property changes over time. CSS Transforms rotate, scale, move, and skew elements.
Transition Properties
transition-property— which property to animate (orall)transition-duration— how long the animation takes (e.g.,0.3s)transition-timing-function— the speed curve:ease,linear,ease-in-outtransition-delay— delay before startingtransition— shorthand:all 0.3s ease
Transform Functions
rotate(45deg)— rotate the elementscale(1.5)— increase sizescaleX(2)/scaleY(0.5)— scale one axistranslateX(20px)/translateY(-10px)— move the elementskew(10deg)— slant the element