What is CSS Gradient
CSS gradients are a technique that achieves backgrounds and decorations that smoothly blend two or more colors using only CSS code, without image files.
Linear Gradient (linear-gradient)
A gradient where colors change linearly along a specified angle or direction. Angles can be freely set from 0 degrees (upward) to 360 degrees (full circle), and direction specifications like 'to bottom' and 'to right' are also possible.
Radial Gradient (radial-gradient)
A gradient where colors spread radially from the center. You can choose circle or ellipse shapes, and adjust the center position and spread. Suitable for button and icon decoration.
What are Color Stops
Color stops are positions where specific colors are placed within a gradient. Any number of colors can be placed at any position from 0% (start position) to 100% (end position). Combining multiple color stops creates complex and beautiful gradients.