There are several ways of doing this. Kind of depends on what you are trying to do around it. I think one of the easiest ways is to do display: flex on the parent and then updating the justify-content, flex-direction and align-items values to get it to center the way you want.
Hope this helps some.
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.