Ekure Edem• 260
@astraldev
Posted
You could have centered the Card..
I just checked your code
.container {
margin: 2rem;
display: flex;
justify-content: center;
height: 37rem;
}
It turns out that, you could have added the align-items
property to center the card on the vertical axis
It could have been
.container {
margin: 2rem;
display: flex;
justify-content: center;
align-items: center;
height: 37rem;
}
Marked as helpful
1
pedro lozano• 90
@Pericles07
Posted
@astraldev muchas gracias, mi fallo a sido que en mi pantalla se ve centrado al ser un portatil (fallo de novato creo) jeje , gracias
0