Learn CSS Variables by Building a City Skyline - Step 41
I was asked to move a property and it’s property value “height property and background property” from the old selector(bb1a) to new selector(bb1-window) and I did exactly as I was asked but my code is still not being accepted. What do I do now?
.bb1-window {
height: 10%;
background: linear-gradient(
var(--building-color1),
var(--window-color1)
);
}
.bb1a {
width: 70%;
height: 10%;
background-color: var(--building-color1);
background: linear-gradient(
var(--building-color1),
var(--window-color1)
);
}