News for hackers. Stuff that matters.
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`.
Re:How to Center in CSS (2015) by soperj on Tuesday May 19, 2020 @11:26AM (#23235879)
that can cause some issues in Chrome oddly enough, depending on how you're using it.