Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

mrx3
mrx3
8,742 Points

Curious about media queries and flex-box.

I just finished the flex-box section and I have a few questions about flex box and media queries.

Which one is better, I have messed around with media queries and and really enjoyed making websites responsive. I was really impressed with the simplicity of flex-box. But I'm worried that flex-box doesn't have wide browser support. Are a lot of the sites created today, made with flex-box or media queries?

Which one has more browser support and how do get flex-box to work in older browsers like IE 8 and IE6?

What do some of the pros use here to create responsive websites? Thank you in advance for any replies.

1 Answer

James Alker
James Alker
8,554 Points

You'd probably find that the majority of responsive websites use media queries as most responsive frameworks (i.e. Foundation / Bootstrap) are built around them.

mrx3
mrx3
8,742 Points

Okay. Thank you for the fast reply James.