I have made a pop-up and I want to center it. Till now I have been giving margin-top. But I guess, this is not the best way to do it.
In my case, there is a link and when it is clicked a pop-up appears, which should be at the center of the page.
Note : I want to center the pop-up vertically. I have already centered the pop-up horizontally by using the bootstrap grid system.