Product Landing page challenge

Hey guys, I just complete the 3rd challenge on freecodecamp:–Product Landing Page
but the problem is “media query” doesn’t work.Please help me…

Your media query its working. to see its effects just change background-color: darkseagreen; to background: darkseagreen; to overwrite the background image.

But why background-color:darkseagreen; not work??

When your screen is less then 600px your #header has both attributes background-image: and background-color: but visible is the bg image. by using background: short attribute will replace the image with a color.

1 Like