CSS CSS Basics Enhancing the Design With CSS Media Query Basics

Saahil Gajmer
Saahil Gajmer
2,322 Points

why does the text turn yellow when the viewport's max-width is 960px although we haven't given any color property to it?

why does the font color turn yellow when the viewport's max-width is 960px although we haven't given it any color property? Please reply.

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 127,610 Points

Hi Saahil,

I'm not sure I understand?

Guil adds a Media Query for the 960px Breakpoint and sets the <p> text to white. When he reduces his screen to that Breakpoint, the text changes color to white. I don't, however, see any of the text changing to yellow.

:dizzy: