Can anyone tell me why my code is not working?
.fb1c{
background: repeating-linear-gradient(
90deg,
var(–building-color4),
var(–building-color4) 10%,
transparent 10%,
transparent 15%
),
repeating-linear-gradient(
var(–building-color4) 0%,
var(–building-color4) 10%,
var(–window-color4) 10%,
var(–window-color4) 90%
);
}
I’m not seeing anything obviously wrong with this CSS, which leads me to believe that you might have accidentally changed something else that is causing the fail. Make sure you didn’t accidentally deleting a closing curly brace on the ruleset before this one, or something like that.
Also, in the future, to paste your code in here so if formats properly, please use the following method.
To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key. You may also be able to use Ctrl+e
to automatically give you the triple back ticks while you are typing in the this editor and the cursor is on a line by itself. Alternatively, with the cursor on a line by itself, you can use the </>
button above the editor to add the triple back ticks.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.