P
Carlos Castillo• 360
@CharlieCastleWeb
Posted
Hi Yann! Great work.
The solution I use to center the main content is:
- Give both the html and boyd a height of 100%
- On the body selector apply display: flex, align-items:center, justify-content: center
- Then in order to leave the footer at the bottom you'll need to apply margin-top: auto to both the main and footer selectors.
Hope this works, let me know if you need more help
Marked as helpful
0