@vanzasetia
Posted
Hi, Kalhara Sandaruwan! 👋
About flexbox and grid, in general, you want to use flexbox to handle a one-dimensional layout (column or row). Use grid for two-dimensional layout (column and row).
For example, I would make the card-footer
as a flex container instead of a grid container. It's because the layout is a one-dimensional layout (row).
One suggestion I have is to use either hr
element or set border-top
on the card-footer
element to create the line. (It is just a preference)
I hope you find this useful!
Marked as helpful
@Impodays
Posted
@vanzasetia thank you for such great suggestions.