Learn CSS Variables by Building a City Skyline - Step 78

My syntax is not giving any positive response. What’s wrong with it?

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

Hey Sheraz-Aslam :),

You might need to post more of your code for us to help. Can you describe what you think should happen, and what is actually happening?

You should double check that your class is being used in your code correctly, just in case.

Welcome to the community!

Check to see if the 90deg should be used in the second repeating-linear-gradient.

Keep up the great progress:)

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