What CSS property is used to create a linear gradient background?

  • background-color: linear-gradient
  • background: gradient
  • linear-background: color
  • background: linear-gradient
The correct option is background: linear-gradient. This property is used to create a linear gradient background. It allows you to specify the direction, starting point, and color stops of the gradient.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *