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 trialLucia Berocay
2,951 PointsDoes Flexbox eliminate the need for media queries?
I'm sure I missed where this was explained or it will be later but I'm confused at the moment. Is flexbox used instead of media queries or are the 2 used together to make responsive layouts?
1 Answer
Ryan Groom
18,674 PointsLucia Berocay The two can be used in conjunction, flex-box may help with responsiveness, but it does not completely reduce the need for media queries in all instances. Flex-box has a lot of awesome features that help with setting up the overall layout of your website though! It can be used in conjunction with CSS grid as well which can be very powerful, but there are certain properties that not be supported in all browsers/older browsers. Hope this helps, good luck with your programming!