Super, super late for this party, but anyway: you can also anchor the anchor to the flex element. This is especially useful for dynamic size / ordered list items.
a { display: flex; flex-grow: 1; flex-shrink: 1; justify-content: center; }
(Caveat: flexboxes obvs is still not supported. Autoprefixer for rescue!)
crisis.sheep Jun 13 '15 at 12:13 2015-06-13 12:13
source share