Vertical centering using display: flex

any text
any height
any content, for example generated from DB
everything is vertically centered
Uncomenting of justify-content: center in the source code you can get both vertical and horizontal centering. Please view source for details or read the CSS vertical centering article.