|
|
|
|
|
by _bxg1
2228 days ago
|
|
This is a straw man. Today you can simply use flexbox on the container: display: flex;
justify-content: center; // horizontal
align-items: center; // vertical
Doesn't work in IE without a JS polyfill (which is available), but has worked in all other browsers for six years or so. |
|