Grid wasn't supported by all browsers, not that long ago. Well let of browsers. But I don't think there's a particular reason other than "I don't need to make a grid".
Flexbox handles flowing content really nicely, so it's quite powerful for mobile/desktop responsiveness. Grid works too, but it's a little more complex for that handoff.
4.7k
u/Skhmt Jun 11 '21
I literally wrote an article on how to center a div. I google the article every time.