@correlucas
Posted
👾Oi Felipe Mendes, tudo bem? Parabéns pela sua nova solução!
Acabei de ver o preview da sua solução e tenho algumas dicas pra você:
Pra fazer o alinhamento vertical você vai ter que usar min-height: 100vh
pra fazer o body ficar com o tamanho de no mínimo 100% da altura da tela e fazer com que o container alinha com essa altura, desse jeito o card vai ficar sempre alinhado ao centro usando display: flex
/ align-items: center
e justify-content: center
.
main {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
👋 Espero que essas dicas te ajudem e que você continue no foco!
Marked as helpful
@Felipemendes097
Posted
@correlucas Vlw pela dica já anotei aqui.