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 Compass Basics Compass Layout and Typography Floats and Horizontal Lists

Paul Neumyer
Paul Neumyer
15,301 Points

Flexbox with Sass

Would this video be a little outdated with the rise of browser support for Flexbox CSS Layout? It just seems easier to use Flexbox then writing all these Sass statements for Floats, and Horizontal Lists, when Flexbox will solve this.

2 Answers

Cameron Cottle
Cameron Cottle
13,742 Points

As Kevin said, you should never rely on new spec, simply because anyone using an older version will instead see a broken page.

According to caniuse.com IE9 does not support Flex-box and IE10 requires a vendor prefix. With conditional CSS or tools like Modernizr you can create navigation styles using flex-box for the browsers that support it, and a fallback for those that don't.

Kevin Korte
Kevin Korte
28,135 Points

Today, I still think it's important to understand both. Based on your expected users and what browsers they might use, I wouldn't rely on Flexbox solely just yet. I know at work some of our workstations are still running IE8, and there are no plans to upgrade them. They don't know any better.

Maybe in 12-16 months these videos might be considered outdated.