Skip to content
Related Articles

Related Articles

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

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 29 Sep, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!