3 ms·
Absolute centering only works when the element you are trying to center has a defined height. If you are trying to center an element with unknown height inside
by vukers 11y ago
Absolute centering only works when the element you are trying to center has a defined height. If you are trying to center an element with unknown height inside a container with unknown height, the table-cell is likely the front-runner, sadly.