@nerometa
Posted
You could do that. What I'm gonna say here might not be the best solution though:
Hardcode width and height of your card and use @media query to hardcode yet another width and height properties when your screen got smaller or bigger.
You could also use min(), max() and clamp() to do sizin. It might work a bit better.
Marked as helpful