Learn CSS Variables by Building a City Skyline - Step 108

i dont know what is keeping it from working

Your code so far

Step 108

Add another repeating gradient to this building; make it the same as the one you just added, except don’t add the 90deg direction and use your window color instead of the two transparent colors.

.fb6 {
  width: 9%;
  height: 38%;
  background-color: var(--building-color3);
  background: repeating-linear-gradient(
    90deg,
    var(--building-color3),
    var(--building-color3) 10%,
    transparent 10%,
    transparent 30%
  ),
  repeating-linear-gradient(
      90deg,
      var(--building-color3) 0%,
      var(--building-color3) 10%,
      var(--window-color3) 10%,
      var(--window-color3) 30%
  )
}

Your browser information:

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

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

Link to the challenge:

You shouldn’t have this value in your second repeating-linear-gradient.

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