I used to use
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
but i saw ppl also use
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
I know both working in same way, but i'd like to know which one is more efficient or more appropriate way for web standard.
