Grid or Flex?
I was never good with grids, to be honest I barely know of css grids.
But I feel like I can do this much better by using css grids, suggestions?
5 Replies
yeah, this is a cakewalk with grid
display: grid;
grid-template-columns: 1fr auto 0.5fr;
gap: 8px;
imagine that working with grid is like a table with columns and rows
if you can divide into columns, grid probably will work
if you want it to be more fluid and break when there isnt enough space, flex may get you there a tad more easily
Thank you
those were values thrown at random, but they may work
but you're welcome
Yeah, I will tweak those, but thanks for a brief overview lol
you're welcome