Kiến thức nền về gradient CSS
Gradient CSS tạo chuyển tiếp màu mượt mà. Linear gradient chuyển dọc theo đường thẳng (hướng: sang phải, xuống dưới, góc độ). Radial gradient tỏa ra từ tâm. Cú pháp: linear-gradient(direction, color1 position%, color2 position%) hoặc radial-gradient(shape, colors). Mỗi điểm màu gồm mã màu (hex, rgb, hsl) và vị trí 0–100%.