Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Layout CSS Media Queries The meta Viewport Declaration

karan Badhwar
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
karan Badhwar
Web Development Techdegree Graduate 18,135 Points

Media Queries not working

My media Query code is working on desktop but it is not working in Mobile view If the <meta> tag is not there why so? even if the width lies under the given requirements. My code was @media screen and (min-width: 600px) and (max-width: 800px){ header{ color: yellow; } } it is not even working in iPad as well whose width is 768px