How to Make Anything Vertically Center

Method One:
[php]

any text
any height
any content, for example generated from DB
everything is vertically centered

[/php]

Method Two:

[php]
/* CSS */
.valign > [class*=”col”] {
display: inline-block;
float: none;
font-size: 14px;
font-size: 1rem;
vertical-align: middle;
}

/* HTML */

Big

Small

[/php]