CSS Flexbox: Push an element to the end

I often end up needing to push an element in a flexbox div to the end of the row. This is a simple way to do it: apply margin-left: auto to the child element.

See here for more.

Show Comments