Currently, I am attempting to include an additional image behind my current image by using a pseudo-element before, but unfortunately, it seems to not be working as expected. Are there any alternative methods to successfully add an image behind the original one?
.hero-sub-2 img {
position : relative;
width : 166%;
height : 430px;
border-radius : 20px;
left : 43px;
top : 50px;
overflow : hidden;
}
.hero-sub-2 img::before {
content : "";
position : absolute;
display : block;
width : 100%;
height : 100%;
background-image : url('/img/360_F_297885365_QNMAlCRXZSHMd0MX5v9QJcP2KhHLLYDc.jpeg');
top : 0;
left : 0;
background-size : cover;
}