DEV Community

Discussion on: Modern Ways to Center an Element with CSS

victorocna profile image
Victor Ocnarescu

Nice one! I did not know the 2-liner code using css grid. Will definitely use this one from now on.

frontendengineer profile image
Let's Code Author • Edited on

yeah, especially if you have no problem with its current browser support. 👍

i currently use css grid at the moment at work.