Question: add a background
property below the background-color
property. Set it as a gradient of type linear-gradient
that uses --building-color1
as the first color and --window-color1
as the second.
What I Have Done: .bb1a {
width: 70%;
height: 10%;
background-color: var(–building-color1);
background: linear-gradient(–building-color1, --window-color1);
}
Now: why is it showing me incorrect?
Welcome to the community
If you try a step three times a ‘help’ button will appear:
Using this to create a post will add all your code so far, a link to the step your on, and can be edited to include your question with any other information you think relevant.
Its hard to see your code in this form, due to it getting mangled by the browser. To include code in a post, use 3 back tics before AND after your code block.
If you cant find a back tic on your keyboard you can use ALT + 096 on your keypad to display one.
The browser will mangal code if no back tics are used, this makes it harder for people to help.
to answer your question, the var()
function to get value from css variables, you are not using it
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.