2 ms·
It even works if you just say `margin:auto` on the flex child
by tiglionabbit 8y ago
It even works if you just say `margin:auto` on the flex child
- SahAssar 8y agoOnly if it's a block or inline-block child though, right?
- throwaway413 8y agoNo, margin auto will center the child regardless of display property so long as the parent is a flexbox.