center div with variable height

59

position: relative;
top: 50%;
transform: translateY(-50%);

Comments

Submit
0 Comments