@elioflo
Posted
Hi there! Your solution looks good.
I noticed that you used margin to center the .conteudo class div, but if the viewport height is too short, the .conteudo div may not look centered anymore. The Both Horizontally & Vertically css-tricks section on css-tricks has some advice and alternatives for centering elements.
In your case, you could try using the following code to center the .conteudo div:
.container {
display: grid;
min-height: 100vh;
place-items: center;
}
This method will ensure that the .conteudo div is centered for any viewport height size.
You're doing a great job with your coding. I hope this comment helps you improve your solution!
Elio Flores