When the div is highly variable, how can the internal img images be highly adaptive 100% using only css?

as in the title, div sets height and max-height. The size of the picture is uncertain.

Css
Mar.18,2021

max-width:100%
height-width:100%
then meta sets the viewport, image to be adaptive


this setting depends on the specific needs. You can see a similar problem sets the width and height of the picture according to certain rules

.
Menu