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.
Flexbox for everything?
I really liked this course. It seems to me that flexbox should be used as much as possible when developing websites. It's advantages over the layout hacks of the past seem vast. I'm curious to know... what are some obvious cases where flexbox would not work? (...or, not work as well as floats etc)?
Also, curious to know if there are any front-end developers out there who use flexbox 100% of the time over other layout methods. It seems to me that it would be easier and perhaps more efficient to choose flexbox 100% of the time (if possible), that way you don't need to waste time weighing the benefits of floats vs flexbox for every layout. I guess it would be easier to adopt this workflow if you were designing AND developing, as you could keep flexbox in mind while designing.
Owa Aquino19,277 Points
For me it's mattes to what I wanted to achieve on a project. Sometimes you'll be using both Flexbox and Float method on a project. Now Grid method is available for css layout this is another method we'll be using in the future for better layout of our websites.
Timo J.Courses Plus Student 20,919 Points
Float and Flex methods are very important and I advice to always keep them in mind. Otherwise when you are developing a professional websites, time count a lot and you will meet a lot of frameworks which do it for you automatically to save time like Bootstrap or Foundation. So for me it's impossible to use them 100% of our time you just need to know that they exist because they can be useful sometimes. ;)