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 to Sass Refactoring with Sass Finishing and Importing our Partials

Samuel Cleophas
Samuel Cleophas
12,348 Points

LOL WHAT - No media queries...

Heyo! Thanks in advance for answering.

So Guil hasn't created a partial for media queries and / or integrated them into the existing partials.

How does his site work? Is it magic or did the video not capture everything that needs to be done?

UPDATE: I just realised that you don't need the media queries for the containers primary-content, and secondary-content to be laid out side by side.

New Question:

Why is that? I thought the media queries were where these layout rules were applied?

1 Answer

Tetsuya Uno
Tetsuya Uno
21,024 Points

Hi, I know it's been a while since you posted this question, but I'm going to leave my comment for someone think the same in the future.

So, look close at his media queries.

@media (max-width: 1024px) @media (max-width: 768px)

These media queries applies only when the screen is smaller than 1024 px (768 px). As his screen is wider than 1024 px, media queries are not applied from the beginning. He will fix it in later videos.

Hope this helps.