Gradients add depth and dynamism to interfaces. CSS supports linear, radial and conic gradients without any images. A linear gradient transitions colours along a straight line. For example:
background: linear-gradient(90deg, #0d6efd, #6610f2);
You can change the angle, add multiple colour stops or switch to radial and conic styles. Our Gradient Generator provides an interactive way to pick colours and stops and outputs production‑ready CSS code.