I am developing a website. Now I am decorating my site. Now I have a problem with the design of my site.
This is what I want to achieve.

As you can see in the high light area, the div has an image and a text box. I want him to be responsive. I mean that it will have a maximum width, when the user reduces the screen size, it will become smaller, but it has a minimum width. I mean, the parent div is not a fixed size. He will change.
, . . , . . :
HTML
<div>
<div class="comment-form">
<img class="comment-avatar" src="/Images/user_avatar.png" />
<textarea placeholder='Please log in first' class="comment-textarea"></textarea>
</div>
</div>
CSS
.comment-form{
padding:5px;
border:1px solid #CFD8DC;
width:100%;
min-width:280px;
max-width:490px;
}
.comment-avatar{
width:60px;
height:54px;
object-fit:cover;
border:1px solid #CFD8DC;
}
.comment-textarea{
width:86%;
display:inline-block;
border-radius:0px;
height:54px;
}
css, 100% . . . . , textarea . . , 86%. 100%, - .

. , - .

. . , , - , , , , textarea -, , .