minor grammar fix (#28100)

This commit is contained in:
Resurreccion
2018-10-24 13:43:17 -07:00
committed by Jonathan Grah
parent 41e7242c16
commit 89681f23a7

View File

@@ -3,7 +3,7 @@ title: Cascading CSS Variables
---
## Cascading CSS Variables
Cascading CSS variables officially called custom properties are entities which behave similarly to traditional variables. In that variables allow for data to be stored and updated to reflect new values later<sup>2</sup>.
Cascading CSS variables (officially called custom properties) are entities which behave similarly to traditional variables, in that variables allow for data to be stored and updated to reflect new values later<sup>2</sup>.
CSS variables are defined to contain specific values and be reused throughout a document. They are set using custom property notation (e.g., `--main-color: black`) and are accessed using the `var()` function (e.g., `color: var(--main-color)`)<sup>1</sup>. Declare the CSS variable in the `:root` or `body` selectors for global access.