Daniel 🛸• 44,230
@danielmrz-dev
Posted
Olá @ricardodcc!
Seu projeto ficou excelente!
Tenho uma sugestão:
- Notei que você usou
margin
pra afastar o card do topo da página e centralizá-lo. Existe uma forma mais eficiente de posicionar um elemento no centro da página, sem o uso demargin
oupadding
:
Aplique isso ao body:
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
Espero que ajude!
Fora isso, seu projeto está ótimo!
Marked as helpful
1
ricardodcc• 110
@ricardodcc
Posted
@danielmrz-dev Thanks for the tip :) I was always doing with margin/padding in the other projects and definitelyit it was not the best way to do it.
0