1
This is the static PNG image, in the background of it I wish I had a slide of images that were visible only inside the cell phone
HTML:
  <div class="device-combo device-combo-macbook-iphonex mb-6 mb-md-0">
    <div class="device device-iphonex">
      <img src="assets/images/body/imagem1.png" class="device-screen" alt="...">
      <img src="assets/images/body/fundoEstatico.png" class="img-fluid" alt="...">
    </div>
  </div>
CSS:
.device, .device>.img-fluid {
    position: relative;
 }
.device:before {
    content: "";
    background-color: #f9fbfd;
}
.device-screen, .device:before {
    position: absolute;
    -o-object-fit: cover;
    object-fit: cover;
}
.device-iphonex:before, .device-iphonex>.device-screen {
    top: 7.784431138%;
    left: 16.4021164%;
    width: 66.137566137%;
    height: 80.838323353%}
.device-macbook:before, .device-macbook>.device-screen {
    top: 11.53846154%;
    left: 13.38709677%;
    width: 73.548387096%;
    height: 73.076923076%}
.device-combo {
    position: relative;
}
.device-combo>.device {
    position: absolute;
}
.device-combo-iphonex-iphonex {
    padding-bottom: 130.250482%}
.device-combo-iphonex-iphonex>.device-iphonex:first-child {
    bottom: 0;
    left: 0;
    width: 65.5260116%;
    z-index: 1;
}
.device-combo-iphonex-iphonex>.device-iphonex:last-child {
    top: 0;
    right: 0;
    width: 72.8323699%}
.device-combo-iphonex-macbook, .device-combo-macbook-iphonex {
    padding-bottom: 62.4260355%}
.device-combo-iphonex-macbook>.device-macbook, .device-combo-macbook-iphonex>.device-macbook {
    width: 91.7159763%}
.device-combo-iphonex-macbook>.device-iphonex, .device-combo-macbook-iphonex>.device-iphonex {
    width: 27.9585799%;
    z-index: 1;
}
.device-combo-macbook-iphonex>.device-macbook {
    top: 0;
    left: 0;
}
.device-combo-iphonex-macbook>.device-macbook {
    top: 0;
    right: 0;
}
.device-combo-macbook-iphonex>.device-iphonex {
    bottom: 0;
    right: 0;
}
.device-combo-iphonex-macbook>.device-iphonex {
    bottom: 0;
    left: 0;
}


If the white area inside the cell phone is transparent, isn’t it enough to apply z-index to organize your images in layers? Have you tried something like this?
– Caio de Paula Silva
I tried with z-index, as I showed in the code, but still I did not have result
– user138238
I can leave the image I want behind the larger one, but when I will perform the click action, what is selected is the larger
– user138238