.aCard { width:200px; } .aCard img { width:fit-content; block-size: -moz-fit-content; max-width: 100%; }