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

Martin Murphy
Martin Murphy
19,321 Points

Using Flexbox for a New Build

Hi everyone,

So I am starting a new project and love the idea and functionality of flexbox so I wanted to think about using it. However I know that the support in IE is limited but should this stop me from using it?

Hate IE myself but that usually doesn't stop me from supporting it.

Any advice from anyone that currently uses it or anyone that has chosen to not use it would be appreciated!!

Thanks all, Martin

2 Answers

Kevin Korte
Kevin Korte
28,148 Points

At this point, I'm okay using it. As Terrance said, only IE10 and up has partial support for it, so I would highly recommend using something like autoprefixer to handle IE prefixes. Microsofts newest browser edge does support it, as well as the other current browsers. I've seen it start to be used in the wild by some larger sites, so I think it's time.

I'm working on a site myself that will take advantage of flexbox.

Just need to think about your client base. If you're site is going to largely be used by "corporate" type clients, they might be stuck in IE8 because they are still on windows xp. IE8 has a bigger market share then IE9, in that case you might not want to. Just depends on your target audience. But I'm using it now, I feel it's time.

Martin, I believe that flexbox functionality is okay for IE version 10 and going forward. However, you can always add back up properties in your selectors as a fail safe for users that are still in an older version of IE.