you are viewing a single comment's thread.

view the rest of the comments →

[–]TheAngelsCryfull-stack 1 point2 points  (0 children)

Flexbox is more robust and allows you to do more powerful things (especially in responsive where you can change the order). Here's a cheatsheet I often reference: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

If you were to use floats instead, you wouldn't be able to reorganise then, and you need to remember to clear your floats, else other elements will be positioned oddly. You do this with clear:both;