TLDRWe accomplish this by using the place-items property. First, make sure to set the display to grid . Then, set the Place-items to center as shown below.That's it. Your search for a way to put an object in the dead center has finally come to an end.
2 Comments
Sort: