fix(curriculum): vague skyline step 51 (#46072)

This commit is contained in:
Muhammed Mustafa
2022-05-21 11:58:08 +02:00
committed by GitHub
parent c3e1ba4390
commit 9ee77ab9b6

View File

@@ -7,18 +7,18 @@ dashedName: step-51
# --description--
You can make an instant color change in a gradient by giving the transition zero space like this:
Gradient transitions often gradually change from one color to another. You can make the change a solid line like this:
```css
gradient-type(
color1,
color1 50%,
color2 50%,
color2
linear-gradient(
var(--first-color) 0%,
var(--first-color) 40%,
var(--second-color) 40%,
var(--second-color) 80%
);
```
Here, the top half of the element will be `color1` and the bottom half will be `color2`. Add a `linear-gradient` to `.bb2b` that uses `--building-color2` from `0%` to `6%` and `--window-color2` from `6%` to `9%`.
Add a `linear-gradient` to `.bb2b` that uses `--building-color2` from `0%` to `6%` and `--window-color2` from `6%` to `9%`.
# --hints--