I wish this help you You could add justify-content: space-between to the parent element. In doing so, the children flexbox items will be aligned to opposite sides with space between them. Updated Example
should help you out In the old days I would have used two containers and floated one left and the other right using clearfix. But I think that method is a bit antiquated with flex capabilities being well supported now. , You can just use justify-content: space-between
it helps some times You can set justify-content: space-between property on the flex-container or you can use margin-left: auto on the second element and that will push it to the right side. Note: For the vertical alignment of flex-children if the flex-direction is row you want to use align-items property instead of vertical-align on the flex-container.