Open In App

Web technologies Questions | CSS Quiz | Set-2 | Question 9

Which function in CSS is used to set the linear gradient as the background image ?
(A) absolute-gradient()
(B) relative-gradient()
(C) linear-gradient()
(D) custom-gradient()

Answer: (C)
Explanation: The linear-gradient() function is an inbuilt function in CSS that is set used to set the linear gradient as the background image of the web pages. It takes two parameters one is the direction and another one is color.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :