Suppose I have an overflox: hidden div
and I put a background image in another div that is inside it.
The image occupies the entire background of the div, but I want the image when it is between 40-60% of the width of the div to be stretched as if it were a zoom.
Follow the example I made of an image
ThebeginningofwhatItriedtodowithcssandhtmlwasthis
<div style="marginTop: 10px, height: 370px, overflow: hidden, backgroundColor: red, position: inherit, alignItems: center, justifyContent: center }}>
<div id="A-negociation" style="display: 'flex', width: 'auto', left: 0, position: 'absolute', paddingLeft: 20px }}>
// card do meio
<div style="margin: 35px"}}>
<img src="http://www.imgworlds.com/wp-content/uploads/2015/12/18-CONTACTUS-HEADER.jpg"style="height: '300px'" alt="card aguardando" title="aguardando pagamentos" />
</div>
</div>
</div>