Fallback color in css

Tell us what’s happening:

i can’t understand the question.

Your code so far


<style>
:root {
  --red-color: red;
}
.red-box {

  background: var(--red-color,red);
  
  height: 200px;
  width:200px;
}
</style>
<div class="red-box"></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36.

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

You need not put the red color second time. Some other color was given in the question. Put that and then check.

They want you to simple add a fallback color onto the .redbox

Your .red-box rule should include a fallback with the background set to red immediately before the existing background declaration.