Now center div with unknown height vertically :-)
And no cheating by using flexbox!
how do you center something on an axis with no limits placed to form a segments. That’s mathematically impossible unless you placed the limits first.
Powerful the Force is, young Padawan, as is the strength of your doubts. Release them you must.