You can center a flex-item vertically and horizontally by applying margin: auto; to it. posted on 11.02.2019