Mohamed Biomy• 300
@MemoBiomy
Posted
- If you want to center the card in the page, give the body { height: 100vh; display: flex; align-items: center; justify-content: center; }
0
Erfan• 310
@ERFAN-REVENANT
Posted
@MemoBiomy lol why shouldn't i use auto margin for it?
0
Mohamed Biomy• 300
@MemoBiomy
Posted
auto margin will center it horizontally not vertically
0