Tell us what’s happening:
Can someone help me out with this one?
.fb1c {
width: 100%;
height: 80%;
background: repeating-linear-gradient(
90deg,
var(--building-color4),
var(--building-color4) 10%,
transparent 10%,
transparent 15%
),
repeating-linear-gradient(
90deg,
var(--building-color4),
var(--building-color4) 10%,
var(--window-color4) 10%,
var(--window-color4) 90%
);
My task is to add the second gradient, but my code does not pass and I’m told the following as a ‘‘hint’’:
You should add a repeating-linear-gradient
with a first color of --building-color4
from 0%
to 10%
.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 78
Link to the challenge: