Learn CSS Variables by Building a City Skyline - Step 104

Tell us what’s happening:
On to the next building! It’s the green one in the foreground. Give it a repeating-linear-gradient with your building color from 0% to 5% , and transparent from 5% to 10% .

.fb5 {
  width: 10%;
  height: 33%;
   background-color: var(--building-color2);
  position: relative;
  right: 10%;
  background: repeating-linear-gradient(var(--building-color2),
  var(--building-color2) 5%, 
  var(--building-color2) transparent 5%, 
  var(--building-color2) transparent 10%);
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36

Challenge: Learn CSS Variables by Building a City Skyline - Step 104

Link to the challenge:

@darkniela66 I’m trying to be nice about this but you can’t just paste in solutions like this. We try to help people find the solutions on their own. I would not continue to do this.