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

Ugur Aydin
Ugur Aydin
5,324 Points

Is flexbox layouts more superior to other layout methods?

As much as I understand, it is. However, when laying out a page, can you solely use the flexbox method?

I'm spending a lot of time to become highly familiar with the flexbox properties and what each one does. I'm getting a little worried that I may be spending to much time on it because I couldn't figure out how to create a simple layout.

I was trying to make a header and image stack as a column on the left, and a paragraph to center align on the right side of it.

Isit good practice to use all layout methods when needed or can all layouts be achieved just by using flexbox?

1 Answer

I am not a flex box expert, but flex box is great for laying out rows or blocks, product blocks, navigation. There is a CSS grid layout on it's way. Expect it might work within 2 years ... more info at https://24ways.org/2015/grid-flexbox-box-alignment-our-new-system-for-layout/