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

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,135 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.