DEV Community

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

Collapse
 
niorad profile image
Antonio Radovcic

Oh yes, the space-arounds are all very useful, especially for nav-bars. I think the first way is more readable since "center" is clearer than "space-around", but I'm writing the second one by default, since it's shorter and in my thinking, I try to solve for horizontal spacing first.