Section 8/10


#1

Section 8/10

https://www.codecademy.com/courses/make-a-website/lessons/closer-look-css/exercises/background-image?action=lesson_resume&link_content_target=interstitial_lesson

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;


#2

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!


#3

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