Re:How to Center in CSS (2015)
by njsubedi on Tuesday May 19, 2020 @11:11AM
(#23235688)
Yes, with flex we don't need anything else. If flex is not available, the browser is supposedly too old to care if we used tables for layout so I'll just throw in `display: table-cell`.
[ Parent
| on HN ]