CSS Gradient Fundamentals
CSS gradients create smooth color transitions. Linear gradients transition along straight line (direction: to right, to bottom, angles in degrees). Radial gradients emanate from center point outward. Syntax: linear-gradient(direction, color1 position%, color2 position%) or radial-gradient(shape, colors). Color stops define transition points: each stop has color (hex, rgb, hsl) and optional position (0-100%).