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,780 Points

Best test is to just change the background color:

@media (min-width: 769px) {

     background-color: green;

}