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 - Beyond the Basics Understanding Flexbox and Multi-Column Layout Flexbox Basics

Is flexbox browser dependant!

So I have watched this introductory video of flexbox, it seems cool. But the instructor asked to give display: -webkit-flex; and it works with chrome? Is not that standard to all the browsers?

2 Answers

Hi..

I've done quite a lot with flexbox and it is a great tool, browser support is improving rapidly which is great because this will make responsive design incredibly easy.

However .... for now it would be a good idea to prefix your code for all browsers to be on the safe side of life but you can use an auto prefixer this saves the trouble of repetitive coding :)

here is a cool link on flexbox

Craig

Thanks, that is helpful

Sue Dough
Sue Dough
35,800 Points

Yes it is browser dependent. Here is the full list of compatible browsers. http://caniuse.com/#feat=flexbox