I just stumbled upon this great little article by Sam Provenza and just want to help spread that knowledge: When you are using flexbox to align items within a container and you want some items to be aligned a little different, the CSS margin: auto
, margin-left: auto
etc. will be your best friend. Read the article, it explains all you need and play around with this pen if you like:
Advertisements