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 Basics (2014) Enhancing the Design With CSS Adjusting the Layout with Media Queries

.wildlife class padding/margin don't change below 768px when in first media query, had to move to second media query?

At 7:40 in the video, the .wildlife class padding and margin are modified to reduce in size for a browser width below 768px, but this is entered within the first media class. My display didn't change until I put the class in the second media query. Did I miss something or is the video not right?

1 Answer

Oops, semi-colon instead of colon followed my first media query max-width. And I also realize without a sample of my code with the error, help from the group would have been difficult. Lessons learned.