Like how you can use the background-color property in CSS to declare a solid color background, you can use the background-image property not only to declare image files as backgrounds but gradients as well. Using CSS gradients is better for control and performance than using an actual image (of a gradient) file.
A Complete Guide to CSS Gradients
Setting Backgrounds & Gradients - Learn to Code HTML & CSS
Trendy Gradients in Web Design
Beautify your pre-loading (white)screen CSS mod
Top 58+ imagen linear gradient over background image
Gradient Background Design: Get in on the trend. How-to and examples!
A complete guide to CSS gradients, by Abby Maribe
Top 58+ imagen linear gradient over background image
How to add gradients to your project using CSS ? - GeeksforGeeks