Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Flexbox aligns things while grid mostly allocates specific space for them.

So, if I need alignment, I go with flexbox. If I have all the elements sketched-up in a design, I go with grid.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: