Skip to content
Related Articles

Related Articles

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

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

Which function in CSS is used to insert a value for the custom property ?
(A) calc()
(B) hsla()
(C) hsl()
(D) var()


Answer: (D)

Explanation: The var() function in CSS is used to insert a value for a custom property. The syntax is var( custom_property, value ) where it takes the two property custom_property and the value.

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!