Learn CSS Variables by Building a City Skyline - Step 77

Add a repeating-linear-gradient to .fb1c with a 90deg angle, your --building-color4 from 0% to 10% and transparent from 10% to 15% .

.fb1c {
width: 100%;
height: 80%;
background:repeating-linear-gradient(90deg
var(–building-color4) 0%,
var(–building-color4) 10%
)
}

Challenge Information:

Learn CSS Variables by Building a City Skyline - Step 77

Please do not create duplicate topics.
I’ll unlist the earlier topic. Use the current one.

Hey @Khin-Kay
Welcome to the forum,the step needs you to have 4 values for the repeating gradient

color 1,
color 1,
transparent,
transparent

so in your existing code just add the transparent value and then add the color stops

Hope you understand

1 Like

Okay please.
I’m kind of new here. sorry

yes
let me do that right away

Thank you
i came up with this and it worked
.fb1c {
width: 100%;
height: 80%;
background:repeating-linear-gradient(90deg,
var(–building-color4),
var(–building-color4) 10%,
transparent 10%,
transparent 15%
)
}

1 Like

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