Learn CSS variables by Building a city skyline Step 60

Hi, I really need help here!
I have tried this step multiple times after reading the instructions clearfully, still doesn’t work.

here is the script I have atm:

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

And the hint is still like this. Can anyone help me what is the bug here? Would really appreciate the help! :slight_smile:

Welcome to our community!

Delete the percentage after the second color. The 15% will be equally divided between the first two, starting from 0% for the first color.

P.S.
Always post a link to the challenge.

1 Like

Thank you so much it works! It just needs to have 15% in the end

1 Like

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