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 trialPaul Neumyer
15,301 PointsFlexbox 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
13,742 PointsAs 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
28,149 PointsToday, 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.