Tell us what’s happening:
I can’t figure out what other code should be written for the prompt :
Add a linear-gradient to .bb2b that uses --building-color2 from 0% to 6% and --window-color2 from 6% to 9% .
I have also gone through MDN docs , but couldn’t understand what to do for :
from 0% to 6% and from 6% to 9% …?
Your code so far
/* file: styles.css */
.bb2b {
width: 100%;
height: 100%;
background: linear-gradient(
var(--building-color2) 0% 6%,
var(--window-color2) 6% 9%
);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Challenge: Learn CSS Variables by Building a City Skyline - Step 51
Link to the challenge: