DEV Community

Discussion on: Which way of centering via Flex do you prefer?

tstark2 profile image
Todd Stark II • Edited on

I've always used the second one. It never even crossed my mind to use flex-direction for that.

I'm always happy to learn a new way to solve a problem. Thanks for bringing this up!