News for hackers. Stuff that matters.
Re:How to Center in CSS (2015) by account42 on Tuesday May 19, 2020 @11:10AM (#23235679)
That is exactly the code the website will generate if you select no IE support.
Re:How to Center in CSS (2015) by cris-ward on Tuesday May 19, 2020 @11:28AM (#23235906)
Actually it also works in IE11, as it should. Flex does work in IE11 with some known bugs - https://caniuse.com/#search=display%20flex
Re:How to Center in CSS (2015) by _bxg1 on Tuesday May 19, 2020 @11:13AM (#23235728)
Yet it opens with this misleading blurb:

> Centering in CSS is a pain in the ass. There seems to be a gazillion ways to do it, depending on a variety of factors.

Which is no longer true in the great majority of cases.

Re:How to Center in CSS (2015) by breakingcups on Tuesday May 19, 2020 @11:31AM (#23235943)
That's only misleading if you don't have to support IE. I'm guessing that's the case for you but many of us still have to.

Also, this site seems to have gone up in 2015 and hasn't changed (substantially) since.

I also don't think you're correct in calling this a straw man. This is not a debate and there was no other party whose assertion this site seems to refute, so calling it a straw man doesn't seem to fit.

Re:How to Center in CSS (2015) by frabert on Tuesday May 19, 2020 @11:29AM (#23235926)
Well it's not true if you decide to ignore the fact that this does address the situations in which centering is a pain in the ass. If you exclude all the factors this takes into account, it obviously becomes trivial.
Re:How to Center in CSS (2015) by TylerE on Tuesday May 19, 2020 @11:28AM (#23235913)
It is always the minority of cars that kill you. If it only has to 95% work, that’s always been easy.