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

Maybe a stupid question but what do you use for the outermost wrapper div that controls the main page layout? Flex or Grid?


Depends on the content and amount of content. I would say you can do the same layout with both. The main advantage of grid and named layouts is that you can move them anywhere you want. You are not bound by the order of html elements.


Yeah, it varies. Sometimes gris, sometimes flex.




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

Search: