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 Basics Getting Started with CSS Layout Using a Mobile First Approach

Dylan Carter
Dylan Carter
4,780 Points

media query not doing anything

@media screen and (min-width: 769px) { width: 70%; margin: 0 auto; max-width: 1000px; }

i also tried how it is just in the video @media (min-width: 769px) {} neither way is responding at all. using google chrome.

3 Answers

Dylan Carter
Dylan Carter
4,780 Points

nevermind its because im retarded and didnt have the class selector there at all.

Wander Dias
Wander Dias
1,319 Points

Thank you man, you solved my problem!

anil rahman
anil rahman
7,786 Points

Best test is to just change the background color:

@media (min-width: 769px) {

     background-color: green;

}