Which of the following function defines a linear gradient as a CSS image?
A
gradient()
B
linear-gradient()
C
grayscale()
D
image()
Correct Answer: linear-gradient()
linear-gradient() function defines a linear gradient as a CSS image. Creating a linear gradient function we should define minimum of two color stops. color stops will tell the browser which colors to use in the gradients for smooth transitions.