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

How do you know which browser supports Flexbox?

How do you know which browser supports Flexbox? And when to use the vendor prefixes like -webkit- ?

3 Answers

Hi, a great website for browser support is www.caniuse.com

Thanks

In the Flexbox course, Guil links to Modernizr ( http://modernizr.com/ ) as a way to check.

In the course, Guil uses -webkit-, the web kit bender prefix, so that it works in the latest version of Safari (though I don't know when the video was made).

The Flexbox Layout is an achievement under CSS Layout Techniques ( http://teamtreehouse.com/library/css-layout-techniques ).

This link is helpful, though may not answer your specific questions.

Thanks

Flex is well supported with most browsers. http://www.w3schools.com/cssref/css3_pr_flex.asp

Thanks