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
Corey Smith
3,520 PointsFlexbox vs Float
Quick question, more of a poll. First off, flexbox is amazing! As I'm learning it, I can't help to think why would I ever want to use float is i can use flexbox? Is Flexbox a replacement, or would I use float sometimes as well? Just a thought as i get ready to tackle this project.
2 Answers
Jason Anders
Treehouse Moderator 145,863 PointsHey Corey,
I'm sure there might be sometimes where one might use float, but I'd say flexbox is the way to go... much more flexibility (pun intended).
Alejandro Mesa
9,813 PointsHey Corey:
I was using float and after watching the flexbox tutorial I was skeptical, but after doing some website mockups to HTML and CSS I realized that Flexbox is way more powerful, specially building responsive websites. I'll floats maybe on a really small website. This tutorial helped me a lot too: https://www.youtube.com/watch?v=Vj7NZ6FiQvo
Corey Smith
3,520 PointsThanks alot!
Corey Smith
3,520 PointsCorey Smith
3,520 PointsThanks Jason!