JSFiddle - React, Tailwind, and code Playground
by Eve Bozh
HTML
<div class="image image-inside-another">
<img src="img/4.jpg" alt='' class="inner-image" style="margin:auto; width: 300px; height: 200px;">
<img src="img/4%20copy1.jpg" class="img-responsive image-filter" style="display: block;" alt="*">
</div>
CSS
.image {
position:relative;
filter: grayscale(100%);
}
.image .text {
position:absolute;
top:10px;
left:10px;
width:300px;
}
.image-filter {
-webkit-filter: brightness(63%) sepia(100%);
}
.image-carousel-1 {
-webkit-filter: brightness(50%);
}
.image-inside-another {
position: relative;
}
.image .inner-image {
position: absolute;
top: 50px;
right: 50px;
}