Building a Skyline Step 60

.bb3 {
width: 10%;
height: 55%;
background-color: var(–building-color3);
background: repeating-linear-gradient(
90deg,
var(–-building-color3),
var(–-building-color3),
var(–-window-color3) 15%
);

}

You should give .bb3 a background using repeating-linear-gradient .

can anyone tell me what’s wrong with my code?
it’s not accepting it and can’t figure it out. I have a feeling it’s something simple, i just can’t catch it.

you have a tipo here…in front of the colors

background: repeating-linear-gradient(
90deg,
var(-building-color3),
var(-building-color3),
var(-window-color3) 15%
);

tried this but it’s still not working

check the colors they begin with --

1 Like

Thank you so much! double checked and found the issue

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.