The linear-gradient() function adds a linear gradient to the background of an element. It acts as the value of the background-image or background property.
linear-gradient()
background-image
background
linear-gradient([angle | to position]?, color [, color]*)