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?
No description
5 Replies
ἔρως
ἔρως10mo ago
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
WiperR
WiperROP10mo ago
Thank you
ἔρως
ἔρως10mo ago
those were values thrown at random, but they may work but you're welcome
WiperR
WiperROP10mo ago
Yeah, I will tweak those, but thanks for a brief overview lol
ἔρως
ἔρως10mo ago
you're welcome
Want results from more Discord servers?
Add your server