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 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