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 CSS Layout Techniques Flexbox Layout Providing Fallbacks with Modernizr

Ehsan Raza
Ehsan Raza
263 Points

What does he mean by syntax toward the end?

And those notes don't really help me. Can anyone explain plz?

2 Answers

Steven Walters
Steven Walters
10,573 Points

He is talking about the way Internet Explorer 10 handles flexbox syntax.

Flexible box ("Flexbox") layout in Internet Explorer 10

There have been updates since then so you can also check here:

Flexible box ("Flexbox") layout updates

And here:

Flexible box layout

Ehsan Raza
Ehsan Raza
263 Points

So basically we use vendor prefixes for older browsers that do support Flexbox. This goes for every browser right?

Steven Walters
Steven Walters
10,573 Points

Yes when the various browsers implement a feature before the feature is final they sometimes need a vendor prefix to make sure their browser knows how to apply the style.

Check out something like can I use for examples.

http://caniuse.com/#search=flexbox