Raphael Bröderbauer• 720
@DigitaleWeltLibrary
Posted
Hey, good solution.
You don't need media queries
instead use width: min(90dvw, 350px);
and keep your CSS
shorter.
.card{
width: min(90dvw,350px);
}
Happy Coding 😉
Marked as helpful
0
Harshal Limaye• 80
@harshalslimaye
Posted
@DigitaleWeltLibrary Thanks for letting me know! I'll keep that in mind for next time.
0