What is the most common way to center a block vertically?

In fact, it is clear that ways are many. But I would like to know the most common, of course given current trends.
March 23rd 20 at 19:19
2 answers
March 23rd 20 at 19:21
Solution
display Flex, align items center
March 23rd 20 at 19:23
{
display: flex;
justify-content: center;
align-items: center;
}

Find more questions by tags LayoutHTMLCSS