Improve Compatibility with Browser Fallbacks how can i do this

Tell us what’s happening:

Your code so far

  :root {
    --red-color: red;
  .red-box {
    background :   var(--red-color);

    height: 200px;
<div class="red-box"></div>

Your browser information:

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

Link to the challenge:

Make sure you declare background with color red on the line before your background color with variable.

1 Like

In the .red-box class, there is a line space above background: var(–red-color);
Declare a background colour of red there.