fix(curriculum): Learn CSS Variables by Building a City Skyline Step 40 (#48897)

Co-authored-by: auchynnikau <viachaslau_auchynnikau@epam.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/47568
pull/48921/head
Billy Arante 2023-01-04 12:35:04 +08:00 committed by GitHub
parent 74ead7d212
commit fe70a824c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@ gradient-type(
);
```
In the example, `color1` is solid at the top, `color2` is solid at the bottom, and in between it transitions evenly from one to the next. In `.bb1a`, add a gradient of type `linear-gradient` to the `background` property with `--building-color1` as the first color and `--window-color1` as the second.
In the example, `color1` is solid at the top, `color2` is solid at the bottom, and in between it transitions evenly from one to the next. In `.bb1a`, add a `background` property below the `background-color` property. Set it as a gradient of type `linear-gradient` that uses `--building-color1` as the first color and `--window-color1` as the second.
# --hints--
You should apply a `background` to `.bb1a`.
You should apply a `background` to `.bb1a` right after the `background-color`.
```js
assert(new __helpers.CSSHelp(document).getStyle('.bb1a')?.background);