Tell me, please, there is a div in which there is an image and a div with text, how to make the height of the image automatically adjust to the height of the second diva with the text? And of course, so that the image does not stretch only in height, but also fit in width. Thank you in advance
.new { display: flex; align-items: center; } <div class="new"> <img src="img/news.png" alt="news"> <div class="right-new"> <p>1 hour ago</p> <h3>New startup idea loremsu ipsumers <br>Lorem ipsum lorem them startuping</h3> <p>by <span>Kadir</span></p> </div> </div>