DEV Community

Discussion on: CSS Grid most easy center vertical and horizontal

Collapse
 
richardnikolas profile image
Richard Nikolas
  • Flex is recommended when you're working with just one dimension (X or Y)
  • Grid is better when you have to work with the two dimensions (X and Y)

And it's great to use both together!