Image transparent

by Vishnuprasad ps

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<div class="container">
<img src="https://imgd.aeplcdn.com/1056x594/n/suk7osa_1474663.jpg?q=85">
</div>

CSS

.container {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  background: url(https://picsum.photos/200/300) center center no-repeat;
  background-size: cover;
}
img {
  width: 100%;
}