I make this card responsive by implimenting the following media query:
@media (max-width:1200px) {
.card{
width: 48%;
}
}
@media (max-width:850px) {
.card{
width: 66%;
}
}
@media (max-width:550px) {
.card{
width: 80%;
}
}
@media (max-width:450px) {
.card{
width: 100%;
margin: 15px;
}
}- 0
No comments on this solution yet.
Be first to post.
Join Our Discord Channel
Chat and discuss solutions with a growing community of developers.