@ipresley96Submitted about 3 years ago
I struggle when it comes to centering items vertically. Whenever I add height to a section is misses up the flow of the elements. Can anyone share useful links to help me?
I struggle when it comes to centering items vertically. Whenever I add height to a section is misses up the flow of the elements. Can anyone share useful links to help me?
Use flexbox on the body: display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh;
That should work.