For the first CSS Battle, the one with the squares, a possible idea to style could be: Then, on each grid child, set the background to var(--c). Maybe something like this: body { background: #DEFAULT_COLOR display:grid; // other properties here * { background: var(--c); } }
For the first CSS Battle, the one with the squares, a possible idea to style could be:
Then, on each grid child, set the background to var(--c). Maybe something like this:
body {
background: #DEFAULT_COLOR
display:grid;
// other properties here
* {
background: var(--c);
}
}