@GrigoryevaEvaSubmitted almost 2 years ago
During the implementation of the project, I encountered a problem, namely the vertical centering of the element relative to the entire page.
I'm not sure I chose a good solution. I wrapped the main element in a container, for which I set the following values:
position: fixed;
top: 0;
bottom: 0;
right: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
After that, the main element was centered vertically.