0

CSS using div

Fill in the blanks to target all div and main elements. div class main { background-color: gray; }

6th Jan 2023, 12:54 PM
kidus elias
kidus elias - avatar
1 Answer
0
You didn't put a comma after each element selector. That's the problem. Your code selects main inside class inside div. And I can't remember **class** element. Maybe that's another mistake, but I don't know
6th Jan 2023, 11:12 PM
Lamron
Lamron - avatar