they allow developers to visually manipulate elements in 2D or 3D space without affecting the normal document flow. Transforms can rotate, scale, skew, or translate elements.
- Scale an element larger on hover for a zoom effect.
- Skew a banner element to add some visual flair.
- Translate an element’s position on click to animate it sliding over.
allow one to animate smooth changes from one CSS property value to another over a specified duration. e.g. they can animate size, position, color, opacity, etc. of elements.
CSS transitions animate between just two states, like hover to not hover. CSS animations can define multiple keyframes to animate.
- Smoother and more performant animations compared to JavaScript
- Easier to declare animations directly in CSS
- Allows animating between any CSS property changes
- Improves user experience with subtle motion cues
A non-static page is always more impressive than a static page; I aim to use it to add some flavor to sites that I create