Sadeep Ariyarathna• 120
@elemenceOR
Posted
try min-height: 100vh;
in the flex container. So it will look something like this.
body {
background-color: rgb(223, 231, 238);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
Marked as helpful
0
Hariom• 30
@DevHarry066
Posted
@elemenceOR Thank you for the suggestion, I will try it
0
Sadeep Ariyarathna• 120
@elemenceOR
Posted
@DevHarry066 Happy to help
1