@madkn1311
Posted
Hello Ammar,
You designed the card really well. :)
To center your card you should do the following:
min-height is the best option as it will change when needed(i.e enable responsiveness). Plain height property won't allow responsiveness.
body{
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
Marked as helpful
@ammarqureshi120
Posted
@madkn1311 Thankyou! I will improve this.
@madkn1311
Posted
@ammarqureshi120 you're welcome..!!