News for hackers. Stuff that matters.
Re:CSS Tips by runarberg on Monday April 26, 2021 @03:32PM (#26946948)
IE compatibility is increasingly rare. Grid is supported by 95% of all browsers globally. If your target group is any narrower, or if centering the content doesn’t break the page and you aren’t shy of serving a weird looking layout to people with old browsers, there is no reason not to use grid.
Re:CSS Tips by asddubs on Wednesday April 28, 2021 @07:03AM (#26967967)
there is no reason not to use flexbox if all you want to do is center something. and that sentence doesn't even need any additional qualifiers.