@correlucas
Posted
Oi Felipe, parabéns por ter completado seu primeiro desafio!
Tenho algumas dicas pra você melhorar sua solução:
-
A cor do background seria mais ou menos esse valor aqui
background: #f2eae2;
. Basta adicioná-lo ao body. Já a cor do cartão seria o branco,background: #fffff;
-
Alinhe o card usando flexbox:
Adiciona no body
body { display: flex; align-items: center;align-content: center; height: 100vh}
E depois no container:
.container { display: flex; align-items:}
-
Depois você só define o valor igual pras duas div, a da direita e a da esquerda, tipo
max-width: 50%; / max-width: 50%;
pra cada div. -
Coloca
width: 100%;
edisplay: block;
na img para ela parar de distorcer.
Espero que isso te ajude, continue codando!
Marked as helpful