Tell us what’s happening:
“ You should give the repeating-linear-gradient a second color of transparent from 5% to 10%.”
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
.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%,
transparent 5%,
transparent 10%,
);
}
/* User Editable Region */
Your browser information:
User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Mobile/15E148 Safari/604.1
Challenge Information:
Learn CSS Variables by Building a City Skyline - Step 104