var()
Term side of the Card
Topic: Global Functions
Unit title: var()
Categories: Function
Explanation side of the Card
Explanation: The function used to insert the value of a custom property into a CSS declaration. It allows for reusable values and easier updates, making it possible to define a color or size once and use it throughout the stylesheet.
Browser compatibility:
- The chrome browser supports this feature starting from version 49
- The edge browser supports this feature starting from version 15
- The firefox browser supports this feature starting from version 31
- The safari browser supports this feature starting from version 9.1
Availability: