CSSVertical Centering


Remarks

This is used when the element's dimensions (width and height) are not known or dynamic.

Prefer to use Flexbox over all other options as it is optimized for user interface design.