I'm sure I'm missing something easy here but I can't figure this out for the life of me.
Only the expanded card should change height. Here is a screenshot of what I mean: material-ui cards
You can apply styles to card.
var cardStyle = {
display: 'block',
width: '30vw',
transitionDuration: '0.3s',
height: '45vw'
}
And in your CardStyle you can apply the above styling by
<Card style={cardStyle}>
<CardHeader
title="URL Avatar"
subtitle="Subtitle"
avatar="https://placeimg.com/800/450/nature"
/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With