Tell us what’s happening:
// running tests Your
.red-box
rule should include a fallback with the
background
set to red immediately before the existing
background
declaration. // tests comp
Your code so far
<style>
:root {
--red-color: red;
}
.red-box {
background:red,/* this is the browser fallback */;
background: var(--red-color);
height: 200px;
width:200px;
}
</style>
<div class="red-box"></div>
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0.
Challenge: Improve Compatibility with Browser Fallbacks
Link to the challenge:
