Section 8/10


Section 8/10

I’m trying to make the “background-size” equal to “cover” but I keep getting the message, “Did you add a background-size property of cover to the .hero selector in main.css?” I’m using the colon and semi-colon in the right places, too.

background-size: cover;


Hi @lil_beanz :smiley:

Your code is exactly how it should be, but try double checking if you put that directly below the ‘background-image’ .hero’s property or if it’s even in the .hero selector/rule.

Hope this helps you!


This topic was automatically closed after 7 days. New replies are no longer allowed.