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.
Hello So if I understand well, basically we just need to use Flexbox? Float etc is not really useful after Flexbox? Thanks
Richard Verbraak7,726 Points
As far as I know, by googling and reading upon using Flex / Floats / Grids. Out of all these Layout options, Float isn't used as much as the other 2.
Flexbox and grids are just better alternatives than float. That doesn't mean that floats are deprecated. You can still use it for blog posts and wrapping text around an image or a div for example.
My personal opinion is just to avoid them at all times since they are bad for responsiveness on your site and are in general, clunky to work with. But that's my opinion, they have their use here and there.
Hello Richard, Thanks for your reply. You mean by 'avoid them'... 'them' is only floating I guess?
got it, thanks a lot!