Aimal Khan• 2,260
@Aimal-125
Posted
In your CSS code,
.main-div{
height: 1000px;
width: 1000px;
background-color: hsl(217,54%,11%);
margin-top: 20px;
display: flex;
}
Give height 100vh and width 100%. justify-content: center; align-items: center; :)
Marked as helpful
0