3 ms·
Two ways offhand: * Float will alight "one" to the left or right with a gap next to it, while flex can stretch, center, or align the element differently. * If
by Izkata 6y ago
Two ways offhand:
* Float will alight "one" to the left or right with a gap next to it, while flex can stretch, center, or align the element differently.
* If the elements are different heights, they'll stack up very differently.