The ________ property in CSS is used to create a linear gradient as the background of an element.

  • background-gradient
  • background-image
  • gradient-background
  • linear-background
The correct answer is gradient-background. This property is used to create a linear gradient as the background of an element. It allows for smooth transitions between colors, enhancing the visual appeal of the webpage.
Add your answer
Loading...

Leave a comment

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