My web page contains 3 images. The first one serves as a background image and determines the size of the enclosing div (img {width: 100% height:auto). This allows me to resize the div dynamically while maintaining the aspect ratio of the image.
https://i.sstatic.net/NcGKZ.png
The other two images, when combined, match the dimensions of the background image. These images are mostly transparent except for the black circular profile images:
https://i.sstatic.net/OxNsX.png
I'm struggling to position these two images over the background image in a fixed manner. I want them to remain on top of the background image so that when the window is resized, they resize alongside it while maintaining their position on top (shrinking proportionally with the background image). I'm aiming for this final result:
https://i.sstatic.net/sZR1l.png
If anyone could provide guidance or help with achieving this effect, I would greatly appreciate it. Thank you in advance!
function openLink(evt, animName) {
var i, x, tablinks;
x = document.getElementsByClassName("information");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
document.getElementById(animName).style.display = "block";
}
@font-face {
font-family: "walkway oblique ultraBold";
src: url("https://cdn.shopify.com/s/files/1/0019/0909/6500/files/Walkway_Oblique_UltraBold.woff?8124544898226561589") format("woff");
font-weight: normal;
font-style: normal;
}
/* Rest of CSS code omitted for brevity */
</div>