Hi, i cant pass this step. I think my code is good, but i cant pass.
Can somebody help me please?
Thanks a lot!
Step 46
You can specify where you want a gradient transition to complete by adding it to the color like this:
gradient-type(
color1,
color2 20%,
color3
);
Here, it will transition from color1
to color2
between 0%
and 20%
of the element and then transition to color3
for the rest. Add 80%
to the --building-color1
color of the .bb1d
gradient so you can see it in action.
Here is my CSS code:
.bb1d {
width: 100%;
height: 70%;
background: linear-gradient(orange, var(–building-color1)80%, var(–window-color1)20%);
}
And here the result of test:
Test
Sorry, your code does not pass. Try again.
Hint
You should add a value of 80% to the --building-color1 color in the linear-gradient of .bb1d.