rule is empty html to css | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

rule is empty html to css

when going from html to css on this site, i get an error of 'rule is empty'. i dont know what this means, if it is a problem or how to fix it. the page is the same

30th Jan 2017, 11:28 PM
Melissa Harris
Melissa Harris - avatar
2 Answers
+ 3
It's a warning that you can ignore. It's only there because it expects the body { } to have something in it.
31st Jan 2017, 12:05 AM
Jafca
Jafca - avatar
+ 1
This Is Not A Problem And The Code Should Work Correctly,If You Don't Want To See This Message You Should Add Some CSS Properties Inside The Rule,Or You Can Delete It If You Don't Want To Use It.
31st Jan 2017, 12:04 AM
Syrian Lucianos
Syrian Lucianos - avatar