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 trialAdam Mata
3,984 PointsWildlife div-media query
While I understand the concept and can move on, I want to know why this specifically isn't working. All of my media queries have worked fine except for this one. I have even copy pasted the text from another answer and still, my wildlife div will not change when I size it down.
@media (max-width: 1024px) { .primary-content, .secondary-content { width: 90%; } .wildlife { padding: 10% 12%; margin: 50px 0 20px; } }
1 Answer
Adam Mata
3,984 PointsAfter deleting the media query and retyping it out, it worked. I don't know what I did different, but now the query is working fine.