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

auto-fill or auto-fit and repeat to make a 2 column layout?

Is there anyway to use the auto-fill or auto-fit and repeat to make a 2 column layout? I am wanting to get of media queries altogether if possible.

1 Answer

You might look into flex-boxes which you can set to naturally scale with the size of your page. They probably won't eliminate media queries entirely, but they save you a lot of headaches.

https://teamtreehouse.com/library/css-flexbox-layout