JSFiddle - React, Tailwind, and code Playground

HTML

<div id="a">
	<div id="b">
		<img src="http://pics.computerbase.de/avatare/benutzer/avatar394368_10.gif" alt="Image01" />
	</div>
</div>

CSS

#a {
	position:relative; 
        max-width:940px; 
        height:auto; 
    overflow: hidden;
    background: gray;
}
 
#b {
	margin-bottom:7px; 
        max-width:940px; 
        height:auto;
}
 
#b img {
	max-width:100%;
	height:auto;
}