@Apriego87Submitted over 1 year ago
- In small / general projects like this, is there a difference between using Grid or FlexBox to center the DIV?
Good job so far!! As for some things to workon:
Now that you have the layout complete, try and get your aspect ratio correct. Try to get the card to close as possible to the original.
For your question, and in my opinion, along with some frontend developers I work with, use the grid for your larger layout of a full page and for complicated components; however, use a flex box for alignment.
Flexbox and grid are not used as either but used together to achieve a desired layout.
For simple cards, flexbox is probably suited best because you are only aligning a few text elements and maybe an image and icon.