3 ms·
With display:flex on the parent you can just put margin:auto on the child. That's what I do and it works fine. Although I admit to having used the transform tri
by LoganDark 4y ago
With display:flex on the parent you can just put margin:auto on the child. That's what I do and it works fine. Although I admit to having used the transform trick more than a few times before flexbox was a thing.