MikDra1• 6,900
@MikDra1
Posted
Here is how you can make your card responsive easily
.card {
width: 95%;
max-width: 42.5rem;
}
On smaller screens, the card will occupy 90% of its parent (such as the body), but once it reaches 42.5rem (680px), it will remain like that.
I hope this tip was useful to you! 💗💗💗
Great work, and keep it up! 😁😊😉
Marked as helpful
1