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 Layout Techniques Grid Layout Testing our Grid

Jerry Relunia
Jerry Relunia
17,148 Points

Is there a reasoable need to use grid system with flexbox? Or is it one or the other?

I have been looking at flexbox as the the first thing to use when looking to create layouts of pages. But should I be thinking about grid systems with implementing flexbox? I can only guess using modernizr for IE as fallback using grids and floats when flexbox doesn't work.

1 Answer

Kevin Korte
Kevin Korte
28,148 Points

It's not fair to compare a grid system with flexbox. Flexbox is just the tool, much like floats are just a tool. A grid system is the toolbox.

There are gridsystems based on flexbox: http://flexboxgrid.com/

If you use a tool like Autoprefixer, you can get IE support through IE10. You can use modernizr to detect for Flexbox support as on solution, you could also load a conditional style sheet to only load on IE9 and older with a float based grid.