@MarGuc1
Posted
Looking for an easy way to make your card responsive? Try this:
.card {
width: 90%;
max-width: 37.5rem;
}
On smaller screens, the card will be 90% wide, but it will stay fixed at 37.5rem (600px) once it reaches that size.
To center the card, use this code:
.container {
display: grid;
place-items: center;
}
Hope this tip helps! 💗💗💗
Keep up the fantastic work! 😁😊😉