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


Igor Yamshchykov
Igor Yamshchykov
24,397 Points

What are the drawbacks of using flexbox ?

Hello, I can see a lot of advantages of using css flexboxes, but I'm pretty sure that there should be some drawback as well ? Maybe not all of the browsers support them ? Or for instance, I I'll be using some kind of framework like bootstrap, maybe some conflicts may occur.

I would appreciate any help on this. Thanks.

2 Answers

Rasbin Rijal
Rasbin Rijal
Courses Plus Student 10,864 Points

Hi Igor,

One of the major drawbacks of using flexbox is performance issues. The use of flexbox can increase the page loading time if you have a larger project. You can compare the page loading time through Chrome development tools using the flexbox and the same pages constructed without using flexbox.

Browser compatibility can be a major consideration. For example, if you consult the most excellent caniuse.com you'll see that flexbox is not supported for Internet Explorer 9. On the other hand, if you are working on a cutting edge music site for a younger audience, you can probably user newer technologies like flexbox.

Not sure about mixing flexbox with different frameworks. I would think they could indeed be mixed in many cases with a bit of CSS magic as needed.