mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-16 21:06:35 +08:00
fix(curriculum): update description on step 15 of Building a City Skyline (#47501)
Update 5d822fd413a79914d39e98d7.md
This commit is contained in:
parent
0c3be348fd
commit
d02dda9dc6
@ -7,7 +7,9 @@ dashedName: step-15
|
||||
|
||||
# --description--
|
||||
|
||||
To use a variable, put the variable name in parentheses with `var` in front of them like this: `var(--variable-name)`. Add your variable as the value of the `background-color` property of the `.bb1a` class. Whatever value you gave the variable will be applied to whatever property you use it on. In this case, your variable has the value of `#999`. So `#999` will be used as the value for the `background-color` property.
|
||||
To use a variable, put the variable name in parentheses with `var` in front of them like this: `var(--variable-name)`. Whatever value you gave the variable will be applied to whatever property you use it on.
|
||||
|
||||
Add the variable `--building-color-1` you created in the previous step as the value of the `background-color` property of the `.bb1a` class.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user